CloudCannon / pagefind

Static low-bandwidth search at scale
https://pagefind.app
MIT License
3.45k stars 111 forks source link

Docs: wrong attribute in multiple-filter example? #473

Closed olets closed 12 months ago

olets commented 12 months ago

According to https://pagefind.app/docs/filtering/#specifying-multiple-filters-on-a-single-element, when providing multiple comma-separated filters the attribute data-pagefind-metadata should be used.

In my testing, that populates metadata. data-pagefind-filter seems to be the correct attribute, same as when single filter values.

bglw commented 12 months ago

Good spot! Lazy copy pasting on my part 🫣

Fixed!