View Single Post
Old 05-28-2024, 07:44 AM   #11
Comfy.n
want to learn what I want
Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.
 
Posts: 1,641
Karma: 7908443
Join Date: Sep 2020
Device: none
Quote:
Originally Posted by dandman View Post
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.
Attached Thumbnails
Click image for larger version

Name:	MWSnap 2024-05-28, 08_38_03.png
Views:	88
Size:	14.2 KB
ID:	208559  

Last edited by Comfy.n; 05-28-2024 at 10:57 PM.
Comfy.n is offline   Reply With Quote