Steps to reproduce
I was using Bases to filter notes by a List property containing links to headings inside another note.Create a note named ⠀ (or any other note).
Add several headings, for example:
DISCIPLINES
GENRES
Create a List property.
Add heading links to the property, for example:
subcategory:
- “[[⠀#DISCIPLINES|Marketing, PR]]”
Create a Base.
Add a filter for this property using either:
subcategory.contains(link(“⠀#DISCIPLINES”, “Marketing, PR”))
or
subcategory == [“[[⠀#DISCIPLINES|Marketing, PR]]”]
Did you follow the troubleshooting guide? [Y/N]
Please, follow the Troubleshooting Guide before answering Yes.
Expected result
Filtering should distinguish between different heading links.
For example, if a property contains:
subcategory:
- “[[⠀#DISCIPLINES|Marketing, PR]]”
then filtering by this value should return only notes containing this exact heading link.
Actual result
The filter does not work correctly.
For example:
subcategory.contains(link(“⠀#DISCIPLINES”, “Marketing, PR”))
or
subcategory == [“[[⠀#DISCIPLINES|Marketing, PR]]”]
does not return the expected notes.