[Digikam-users] Sort Album Tree by Album date (force/hack)?

Gilles Caulier caulier.gilles at gmail.com
Sat Mar 16 17:01:01 GMT 2013


2013/3/16 Rasmus K. Rendsvig <rendsvig at gmail.com>

> Hi all!
>
> I've just started using digiKam on both my Ubuntu (2.8.0) and Windows
> (2.9.0) machines and find it great!
>
> I would love have my folder tree sorted by date when using Album View, as
> mentioned possible here:
> http://docs.kde.org/development/en/extragear-graphics/digikam/using-kapp.html#using-myalbumsview
>
> However, it seems the relevant menu item has been removed (
> https://bugs.kde.org/show_bug.cgi?id=227530).
>
>
yes, i confirm that feature have not been implemented when code have been
ported to model/view.


> Is there some way I get around that and hack something to get the folder
> tree under album view to be sorted by album date?
>

This is a complex task. The goal is to regorganize albumtreeview class
content by album date set in database.

https://projects.kde.org/projects/extragear/graphics/digikam/repository/revisions/master/entry/digikam/album/albumtreeview.h

In this class you will find models to design album tree. Code must be add
in this class to reorganize album contents by date.

Look in class PAlbum to see date properties. I supose that you want only
sort Physical Albums by date.

https://projects.kde.org/projects/extragear/graphics/digikam/repository/revisions/master/entry/digikam/album/album.h#L331

Gilles Caulier




>
> Kind regards,
> Rasmus
>
> _______________________________________________
> Digikam-users mailing list
> Digikam-users at kde.org
> https://mail.kde.org/mailman/listinfo/digikam-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/digikam-users/attachments/20130316/1b52727f/attachment.html>


More information about the Digikam-users mailing list