Version: (using KDE KDE 3.5.7) Installed from: Gentoo Packages In the advanced search it should be possible to search for all pics in oe album INCLUDING sub-albums. ATM you have to add all subalbums manually.
If you define an advanced search for "Album Name" "contains" "DigikamPhotos" also all subdirectories are included. So this does provide the functionality you would like to have. Is this good enough?
Yes, it works. But probably a lot of people will not see this functionality. Perhaps, an additionnal search rule 'Album' 'is equal to (sub-folders included)' (but that's a long text for the drop-down) or an additionnal line with a 'sub-folders included' checkbox when we select 'album' could be an easier way to provide it.
First I thought this could be easily done by adding to the RuleOpTable in searchwidgets.cpp { I18N_NOOP("Contains"), "LIKE", SearchAdvancedRule::ALBUMS }, However, this produces the search digikamsearch:1?1.key=album&1.op=LIKE&1.val=37&name=Digikamphotos&count=1 which does not include subalbums either. What we would like to have as search is digikamsearch:1?1.key=albumname&1.op=LIKE&1.val=DigikamPhotos&name=Digikamphotos&count=1 Maybe one could change the code such that for key=album and op=LIKE we use key=albumaname instead? (However it sounds a bit like a hack ... ;-) Are there better approaches?
Ian, Following recents progress into new Advanced Search tools from Marcel with KDE4 port, i close this file. Search for all pics in album INCLUDING sub-albums is now default behaviours. Search tools have been rewritten. Screenshots are available at this url: http://digikam3rdparty.free.fr/Screenshots/NewSearchTools Gilles Caulier