Search and filter show different items

Using gg from the global search, I noticed that filter (gg on list name) and search (gg on item) get me completely different results. I took a screen recording, where I’m just using browser history to demonstrate one vs the other.

Also, it might be a bit confusing why on the filter page you are seeing the raw markdown link syntax, but that’s because the item was imported from another outliner and the url text ended up inside an <a>…</a> element.

I also found that filter sometimes doesn’t work. If I go back in history and do gg again, then I get a filtered list. When it doesn’t work (usually the first time I do gg from a new search), it looks like this. It says the list is filtered, but it’s not.

Hello,

The global search at the moment searches only full words. The list filter also works on parts of words. So there is indeed a difference.

As for non-working filter, that’s quite interesting, and looks like a bug. But so far I could not reproduce it :frowning: I will keep an eye on it, but if you manage to find a repeating scenario - please share.

Thank you,
KIR

Thanks, yes, I forgot that about the global search. However, what also threw me off were a couple of minor details:

  1. While filter works on parts of words, it does not look at the raw text. The URL (hidden by Markdown rendering) contains “…ubo…”, which can be seen in a hint at the bottom of the video frame at 0:04 seconds. Filter does not return this item.
  2. Global search seems to (a) look at the raw markdown and (b) recognize underscores as word boundaries.

The result, in this particular case, is the search and the filter return non-overlapping sets of matches.

The takeaway is, it is helpful to remember that filtering is “visual”, whereas search works on raw data. Not a bug—a feature. :grinning: