Bug 180110

Summary: Search by rating does not work in combination with other search arguments
Product: [Applications] digikam Reporter: BlaueNuss <blauenuss>
Component: Searches-AdvancedAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles, marcel.wiesweg
Priority: NOR    
Version: 0.10.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In: 0.10.0

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.