Bug 423737 - Album sort in tree view descending instead of ascending
Summary: Album sort in tree view descending instead of ascending
Status: RESOLVED NOT A BUG
Alias: None
Product: digikam
Classification: Applications
Component: Albums-TreeView (show other bugs)
Version: 7.0.0
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-01 11:52 UTC by andrej.valencic
Modified: 2020-07-01 12:12 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 7.0.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description andrej.valencic 2020-07-01 11:52:53 UTC
SUMMARY
After upgrade to MariaDB 10.5.4 albums in the tree view are sorted descending (Z-A) instead of ascending (A-Z)

STEPS TO REPRODUCE
1. Upgraded MariaDB to latest stable version 10.5.4
2. Rebuild the database within digikam


OBSERVED RESULT
I upgraded to the latest stable MariaDB on my Windows PC and it didn't went as smooth as expected, so I had to rebuild the digikam database. After the fresh scan of my picture library the tree view of albums is in the descending order - before it was in ascending (sub albums also). Sorting albums by date on the other hand works OK. Could this be due to the new version of database used and is it possible to change this somehow?

EXPECTED RESULT
I would like to see albums sorted by ascending order as before (or maybe even have an option to choose ascending/descending?)

SOFTWARE/OS VERSIONS
Windows: 10 Pro version 2004
digiKam 7.0.0. Build date: Jun 30 2020
Linux/KDE Plasma: 
(available in About System)
KDE Frameworks 5.70.0
Qt 5.14.2 (built against 5.14.2)
The windows windowing system

ADDITIONAL INFORMATION
Comment 1 caulier.gilles 2020-07-01 11:58:21 UTC
Hi,

Which Mariab version did you use before the upgrade ?

Gilles Caulier
Comment 2 Maik Qualmann 2020-07-01 12:02:28 UTC
This has nothing to do with the database. You probably clicked the tree view header and changed the sort order. Just click on it again.

Maik
Comment 3 andrej.valencic 2020-07-01 12:04:09 UTC
(In reply to caulier.gilles from comment #1)
> Hi,
> 
> Which Mariab version did you use before the upgrade ?
> 
> Gilles Caulier

MariaDB 10.4.13 stable
Comment 4 andrej.valencic 2020-07-01 12:05:38 UTC
(In reply to Maik Qualmann from comment #2)
> This has nothing to do with the database. You probably clicked the tree view
> header and changed the sort order. Just click on it again.
> 
> Maik

Wow, I missed that - thanks!