Numeric search not working for rating

Bug #1423390 reported by fooeynet
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calibre
Fix Released
Undecided
Unassigned

Bug Description

Version: 2.18
OS: Linux

Actual:
Searching for rating >= n returns results where rating = n.
Searching for raing <= n returns an invalid search option (red background).

Expected:
Searching for rating >=n should return books rated n and higher.
Searching for rating <= n should return books rated n and lower.

Examples:
rating:>=3
Returns books only rated as 3 stars. (incorrect)
rating:>2
Returns books rated 3 and higher (correct)
raitng:<=3
Returns invalid query warning (red background) (incorrect)
rating:<3
Returns books rated 2 and lower (correct)
rating:=3
Returns books only rated as 3 stars. (correct)

fooeynet (fooeynet)
description: updated
Revision history for this message
Kovid Goyal (kovid) wrote : Fixed in master

Fixed in branch master. The fix will be in the next release. calibre is usually released every Friday.

 status fixreleased

Changed in calibre:
status: New → Fix Released
Revision history for this message
fooeynet (fooeynet) wrote :

Verified fixed in 2.20, thanks!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.