Quote:
Originally Posted by dandman
1. if i use double quotes (") in my name then they are not escaped and break the saved search
|
I got some saved searches that will return "Unknown saved search", on the tooltip that shows when the search bar goes red, and the query won't run.
I had noticed this before, but I knew this was because in most cases I like to replicate the search expression in the saved search name, which can lead to some unexpected behaviour.
Some examples:
1.
Search name - publisher:"=calibre"
Search expression - publisher:"=calibre"
Output on search bar -
search:"=publisher:"=calibre""
2.
Search name - title:~\\bthe\\send\\sof\\shistory\\b
Search expression - title:~\\bthe\\send\\sof\\shistory\\b
Output on search bar -
search:"=title:~\\bthe\\send\\sof\\shistory\\b"
3.
Search name - title:"~in\S+ble" and languages:english
Search expression - title:"~in\S+ble" and languages:english
Output on search bar -
search:"=title:"~in\S+ble" and languages:english"
However when one removes the prefix search:"=, they run without issues.