Bug 198695

Summary: Filtering on albums is difficult to use when albums are sorted by date
Product: [Applications] digikam Reporter: Frédéric COIFFIER <frederic.coiffier>
Component: Albums-FiltersAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles
Priority: NOR    
Version: 1.0.0   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In: 1.0.0

Description Frédéric COIFFIER 2009-07-02 21:36:19 UTC
Version:           1.0.0-beta1 (using KDE 4.2.4)
OS:                Linux
Installed from:    Gentoo Packages

When albums are sorted by date, filtering is difficult to use as, by default, date groups are not expanded. So, each date group must be expanded manually to found an album corresponding to the filter.
Comment 1 Andi Clemens 2009-10-21 07:59:34 UTC
SVN commit 1038342 by aclemens:

Make quick filter work in AlbumFolderView for "Sorted by Category" and "Sorted
by Date" as well.
Since groupedItems don't have a pAlbum assigned, iterating only over the
palbumList from AlbumManager isn't working.
We need to iterate over the folderList items instead.
Additional logic had to be added for ByCategory and ByDate sorting.

Future conversions to Qt4 model view will hopefully make this easier :-)

BUG:198695

 M  +76 -24    albumfolderview.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1038342