Bug 180110 - Search by rating does not work in combination with other search arguments
Summary: Search by rating does not work in combination with other search arguments
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Searches-Advanced (show other bugs)
Version: 0.10.0
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-09 11:15 UTC by BlaueNuss
Modified: 2017-08-18 09:46 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 0.10.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description BlaueNuss 2009-01-09 11:15:51 UTC
Version:           0.10.0-beta8 (using KDE 4.1.3)
OS:                Linux
Installed from:    SuSE RPMs

If I search for pictures with a specific rating (in the advances search) this only works without any other argument. If I want only the pictures of a specific album with a specific rating I always get the whole album as result.
Comment 1 Marcel Wiesweg 2009-01-09 15:17:57 UTC
SVN commit 908249 by mwiesweg:

Just call readNext in case of a single entry, readToEndOfElement will fail because we are not at a Start element.

CCBUG: 180110

 M  +1 -1      searchxml.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=908249
Comment 2 Marcel Wiesweg 2009-01-09 15:41:51 UTC
I found this bug if one album is selected in the Album ("Search pictures located in") or Tags ("Return pictures with Tag") combobox, any other criteria below including rating will be ignored. I have fixed this problem.

Does any other combination of criteria, _not_ using Album and Tag search, give you wrong results?
Comment 3 Marcel Wiesweg 2009-01-18 22:28:25 UTC
Assuming to be fixed. Report new defects as new report.