Jump to content
  • 0

Bug: advanced searches being changed / broken when saved


skotzko

Idea

When I create a more complex search typed in manually, the search is being changed by the client once saved. So when I return to the saved search, I don't get the same results as I did when I first did the search. 

Here's an example I keep running into. I want to search for all notes that are in a given notebook, or have one of a few tags applied to them.

This search, run manually, works exactly as expected:

any: notebook:"Experimentation" tag:"experimentation" tag:"innovation"

However, when I save the search (Edit > Find > Save Search), the query is rewritten on save as:

notebook:"Experimentation" any: tag:"experimentation" tag:"innovation"

The results no longer match. Now I only get notes within the "Experimentation" notebook, but not any outside that notebook that have the tags I want.

Link to comment

3 replies to this idea

Recommended Posts

  • Level 5*

EN doesn't support a search of NotebookA plus notes tagged TagA and TagB in any other notebooks.  Once you select a notebook for your search context, Experimentation in your case, that is the only notebook that will be searched.  Workaround some have used when presented with this requirement is to temporarily tag all the notes in NotebookA with TabNB and then do an ANY search on TagNB TagA and TagB with an All Notes context.

Not clear why the search results would have changed, perhaps changes since the first time you executed the search?

Link to comment
  • Level 5*
4 hours ago, skotzko said:

I want to search for all notes that are in a given notebook, or have one of a few tags applied to them.

This search, run manually, works exactly as expected:

any: notebook:"Experimentation" tag:"experimentation" tag:"innovation"

Are you sure this works - my understanding is that "notebook" has to be the first term
There's a link to the search grammar below in my signature section
Here's an excerpt

any: - If this expression is found at the beginning of the search (after the "notebook", if present), then the search will return a note that matches any of the other search terms. If this is not found, then the default behavior will be used: a note must match all of the search terms. 

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...