https://bugs.kde.org/show_bug.cgi?id=404749

--- Comment #6 from [email protected] ---
Maik,

The item sort by pick and color labels are implemented for the album icon-view
and the import icon-view.

It still one point where sort by rating is supported by not pick and color
labels: the plugin interface:

Look here :

https://invent.kde.org/graphics/digikam/-/blob/master/core/libs/database/utils/ifaces/dbinfoiface.cpp?ref_type=heads#L113

In fact this call this method core DB interface :

https://invent.kde.org/graphics/digikam/-/blob/master/core/libs/database/coredb/coredb.cpp?ref_type=heads#L3979

If we would to imitate ByItemRating sorting here for pick and color labels, the
way is completely different as pick and color are tags not imageinformation
properties:

https://invent.kde.org/graphics/digikam/-/blob/master/core/data/database/dbconfig.xml.cmake.in?ref_type=heads#L378

Q1 : we really need to add support of pick and color label sorting in plugin
interface ?
Q2 : if yes, it's already implemented somewhere in the DB interface ?

Gilles

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to