Bug 425879

Summary: import: view -> sort order sorts only oldest day
Product: [Applications] digikam Reporter: arne anka <kde-bugs>
Component: Import-MainViewAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist CC: metzpinguin
Priority: NOR    
Version First Reported In: 6.4.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 7.1.0
Sentry Crash Report:

Description arne anka 2020-08-27 18:56:31 UTC
SUMMARY
import -> view:
sort items: by date
group items: by date

earliest images are from 2018-11-19, latest from today
item sorting order: asc
oldest image of 2018-11-19 is on top

item sorting order: desc
youngest image of 2018-11-19 is on top

EXPECTED RESULT
sorting sorts _all_ images, not just the oldest day

SOFTWARE/OS VERSIONS
Operating System: Debian GNU/Linux 
KDE Plasma Version: 5.17.5
KDE Frameworks Version: 5.70.0
Qt Version: 5.14.2
Kernel Version: 5.7.0-3-amd64
OS Type: 64-bit
Processors: 8 × Intel® Core™ i7-4700MQ CPU @ 2.40GHz
Memory: 15,4 GiB of RAM
Comment 1 Maik Qualmann 2020-08-27 19:25:06 UTC
The sorting only affects the group. The grouping in the import view by date, just like the grouping by format, has a fixed sorting. The digiKam main view can also change the sorting for the groups.

Maik
Comment 2 Maik Qualmann 2020-08-27 20:35:46 UTC
Git commit d7884639cc480d28cc74fef2d9bc0c47c56c96d2 by Maik Qualmann.
Committed on 27/08/2020 at 20:34.
Pushed by mqualmann into branch 'master'.

sync in the import view the category sorting and item sorting
FIXED-IN: 7.1.0

M  +2    -2    NEWS
M  +1    -0    core/utilities/import/models/camitemsortsettings.cpp

https://invent.kde.org/graphics/digikam/commit/d7884639cc480d28cc74fef2d9bc0c47c56c96d2