tokenshift/obsidian-page-gallery

Filter bar not working

Closed this issue · 1 comments

For some reason, for me the filter bar doesn't work

I get these errors in the console:

image

I paste here one of my code block, to show if I'm doing something wrong, but it's the same with all of them:

image

I'll be happy to provide any other useful info that can help to solve the issue.

Great plugin, BTW!

Reproduced via:

  • Add a property/frontmatter to a page with a null value
  • Input a filter string that doesn't match the page's path or tags, so that matchFilter attempts to look for a match in other page metadata (if the path or tags match, matchFilter won't bother looking at other metadata, so the null won't be encountered).

Fix coming soon.