Saved search not working

Bug #1392052 reported by Mi Ro on 2014-11-12
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calibre
Undecided
Charles Haley

Bug Description

I would like to report bug in saved search
When I search for example title:\( , it will do the expected work and list all books with title which contain (

When I save it using "Save current search" button, it is added to Searches as
search:"=title:\("
Reusing this saved search by clicking it does not produce any result.

For example saved search below is ok
search:"=title::"
and does the same as
title::

Thank you

Changing the component for this bug.

 assignee cbhaley
 status triaged

Kovid Goyal (kovid) wrote :

@charles: After a quick look at the code path, it looks like a bug in
the search query parser, it cannot parse the expression
search:"title:\("

So either the parser needs to be fixed or the code to generate saved
search names from searches needs to sanitize the search.

Changed in calibre:
assignee: nobody → Charles Haley (cbhaley)
status: New → Triaged
Charles Haley (cbhaley) wrote :

To fix the existing search, use Manage saved searches and remove the backslash from the search name. Or delete it and recreate it once this fix is released.

Changed in calibre:
status: Triaged → Fix Committed

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

 status fixreleased

Changed in calibre:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers