[Digikam-devel] [Bug 149026] Wish: Search including sub-albums

Arnd Baecker arnd.baecker at web.de
Fri Sep 7 11:42:50 BST 2007


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=149026         




------- Additional Comments From arnd.baecker web de  2007-09-07 12:42 -------
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?



More information about the Digikam-devel mailing list