Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update link to test files #766

Merged
merged 1 commit into from
Dec 21, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/content/docs/js-api-filtering.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,10 @@ This example will return all pages with `author` filters associated, where one o

## Getting the remaining results available for each filter

If all filters have been loaded with `await pagefind.filters()`, counts will also be returned alongside each search, detailing the number of remaining items for each filter value.
If all filters have been loaded with `await pagefind.filters()`, counts will also be returned alongside each search, detailing the number of remaining items for each filter value.

```js
{
{
"results": [
{
"id": "6fceec9",
Expand Down Expand Up @@ -197,4 +197,4 @@ Matches pages that are authored by `Pagefind` with a tag of `Article`, or pages

***

To dive deeper into complex filtering, see the [compound_filtering.feature](https://github.com/CloudCannon/pagefind/blob/main/pagefind/features/compound_filtering.feature) test file in Pagefind's GitHub repository.
To dive deeper into complex filtering, see the [compound_filtering](https://github.com/CloudCannon/pagefind/tree/main/pagefind/integration_tests/compound_filtering) test files in Pagefind's GitHub repository.
Loading