ckolderup / postmarks

a single-user bookmarking website designed to live on the Fediverse

Home Page:https://postmarks.glitch.me

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tag Filter doesn't match on entire tag

TomCasavant opened this issue · comments

Basically if a tag is within another tag it gets included in the /tagged/ filter view

e.g. filtering tags with "#AI" (/tagged/AI) will include a bookmark with the tag "#Mail" because of the 'ai' in 'mail'.

Along the same lines and probably related so I won't put it in a different issue. Capitalization doesn't matter for the filter but it does seem to matter when highlighting the selected tag.

e.g. /tagged/AI and /tagged/ai will return the same results (which I would think is what we want) but it will only mark the tag that matches the capitalization exactly

/tagged/AI
image

/tagged/ai
image

note how the /tagged/ai doesn't highlight '#AI' as selected