Saved search not working

Bug #1392052 reported by Mi Ro
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calibre
Fix Released
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

Revision history for this message
Kovid Goyal (kovid) wrote : Re: calibre bug 1392052

Changing the component for this bug.

 assignee cbhaley
 status triaged

Revision history for this message
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
Revision history for this message
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
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: Fix Committed → Fix Released
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.