Numeric search not working for rating

Bug #1423390 reported by fooeynet on 2015-02-18
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calibre
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) on 2015-02-19
description: updated

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
fooeynet (fooeynet) wrote :

Verified fixed in 2.20, thanks!

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

Other bug subscribers