Bug 476863

Summary: Faces in People panel do not respect the sort order
Product: [Applications] digikam Reporter: MarcP <iwannaberich>
Component: Albums-SortAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: iwannaberich
Priority: NOR    
Version First Reported In: 8.2.0   
Target Milestone: ---   
Platform: Appimage   
OS: Linux   
Latest Commit: Version Fixed In: 8.2.0
Sentry Crash Report:

Description MarcP 2023-11-12 02:01:56 UTC
SUMMARY
Hi.

I believe there has been some kind of regression. In the latest appimages (including the 2023-11-11), the sort order for faces seems to be random. It does not respect the Sort Items. 

I can confirm it is working fine in the digiKam-8.2.0-20231029T182058.appimage.

STEPS TO REPRODUCE
1. Go to the People panel.
2. Click on any person.
3. Try to change the sort order (e.g. View, Sort Items, By Creation Date)

OBSERVED RESULT
Nothing happens.

EXPECTED RESULT
The sort order should be respected.

SOFTWARE/OS VERSIONS
digiKam-8.2.0-20231111T124740-x86-64.appimage in Kubuntu 22-.04 LTS
Comment 1 Maik Qualmann 2023-11-12 08:18:47 UTC
Git commit 2346d051c4f30d56b0f641372f04838ae8903037 by Maik Qualmann.
Committed on 12/11/2023 at 09:17.
Pushed by mqualmann into branch 'master'.

make the person unique only for category comparison
Related: bug 476335
FIXED-IN: 8.2.0

M  +1    -1    NEWS
M  +12   -6    core/libs/database/models/itemsortsettings.cpp

https://invent.kde.org/graphics/digikam/-/commit/2346d051c4f30d56b0f641372f04838ae8903037