Ir al contenido

Trigger Filters API

Esta página aún no está disponible en tu idioma.

This page exists to test a public API for triggering filters in the Pagefind search component.

First, uncomment <span data-pagefind-filter="..."></span> in both docs/src/content/docs/demo/trigger-filters.md and docs/src/content/docs/demo/trigger-search.md.

Then, when doing a search from this page, e.g. for the word test, search results should be filtered by default to only include results that have the filter author set to Alice.