Bug 426575

Summary: The album shows the contents of sub folders before the main folders
Product: [Applications] digikam Reporter: hsonnenschein
Component: Albums-SortAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: metzpinguin
Priority: NOR    
Version: 7.1.0   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed In: 7.2.0
Sentry Crash Report:
Attachments: Sort order
sorting.png

Description hsonnenschein 2020-09-15 19:43:13 UTC
Since DigiKam 7 the contents of the sub folder is before the main folder. If I have a view with main folder and sub folder, the contents of the sub folder will be shown before the contents of the main folder. With DigiKam 6.4 it was the other way around.

I can change the sort result if I change the "Item sort order" of the folder to "descending". But then are the files at a wrong position.
Comment 1 Maik Qualmann 2020-09-15 20:13:02 UTC
I don't think there has been a code change here. You have to change the sort order for the grouped (category) entries.

Maik
Comment 2 hsonnenschein 2020-09-16 20:47:59 UTC
Created attachment 131707 [details]
Sort order
Comment 3 hsonnenschein 2020-09-16 20:48:44 UTC
The change came with DigiKam 7.0.
Attached is a picture with a Main and Sub Folder and the sort, which I have done.
If you have found my mistake, pleas contact me. I want to use DigiKam 7.x and not continue with 6.4.
Comment 4 Maik Qualmann 2020-09-16 20:58:03 UTC
Created attachment 131709 [details]
sorting.png

There was no change, you changed the option in the screenshot.

Maik
Comment 5 hsonnenschein 2020-09-17 08:20:44 UTC
Do you know it or did you test it?
Comment 6 Maik Qualmann 2020-09-17 10:42:08 UTC
Git commit 00ce533be4404e6a8f876724486e05ca20ddbde3 by Maik Qualmann.
Committed on 17/09/2020 at 10:41.
Pushed by mqualmann into branch 'master'.

restore item separate sort order
FIXED-IN: 7.2.0

M  +2    -1    NEWS
M  +4    -2    core/libs/models/itemalbumfiltermodel.cpp

https://invent.kde.org/graphics/digikam/commit/00ce533be4404e6a8f876724486e05ca20ddbde3