Bug 426575 - The album shows the contents of sub folders before the main folders
Summary: The album shows the contents of sub folders before the main folders
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Albums-Sort (show other bugs)
Version: 7.1.0
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-09-15 19:43 UTC by hsonnenschein
Modified: 2020-09-17 10:42 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 7.2.0


Attachments
Sort order (69.73 KB, image/jpeg)
2020-09-16 20:47 UTC, hsonnenschein
Details
sorting.png (178.73 KB, image/png)
2020-09-16 20:58 UTC, Maik Qualmann
Details

Note You need to log in before you can comment on or make changes to this bug.
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