obsidian-map-view icon indicating copy to clipboard operation
obsidian-map-view copied to clipboard

Map View Filter Problem

Open cjt3 opened this issue 3 years ago • 1 comments

I have been having a problem with some notes not displaying in Map View with a filter, and also getting an error (red box) on the filter. I finally tracked it down to it being an issue with any note that has parentheses in the path (either in the note name or folder name).

Example: I have a note named "Trip (Jan 2022)". I can display a Map View of that note just fine, but if I try to filter on linkedfrom:"Trip (Jan 2022)" the filter gives an error.

cjt3 avatar Oct 01 '22 12:10 cjt3

Thank you for the precise finding of the root cause, it's indeed an edge case I didn't consider. Will get it fixed.

esm7 avatar Oct 01 '22 12:10 esm7

Fixed in 2.3.0 (not released yet).

esm7 avatar Dec 22 '22 19:12 esm7

~Sorry to bug but any update on 2.3.0 release date?~

I am so so sorry, I saw you release 3.0 already.

championswimmer avatar Jan 12 '23 14:01 championswimmer

Just a few hours ago :)

esm7 avatar Jan 12 '23 14:01 esm7

I just updated to 3.0 and still have the same issue

image

Red box.

Logs don't quite say much

image

This is my filter query linkedfrom:"Create/Travel/2022-01 England & Scotland.md"

Are special characters not allowed in linkedfrom filename? (like &) ?

championswimmer avatar Jan 12 '23 14:01 championswimmer

I didn't take into account the & character. Will release a fix soon (probably tomorrow).

esm7 avatar Jan 12 '23 15:01 esm7

Released the fix.

esm7 avatar Jan 12 '23 19:01 esm7