Aller au contenu

Trigger Filters API

Ce contenu n’est pas encore disponible dans votre langue.

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.