Skip to content

Commit

Permalink
Merge pull request #766 from CloudCannon/fix/docs-link
Browse files Browse the repository at this point in the history
Update link to test files
  • Loading branch information
bglw authored Dec 21, 2024
2 parents d9c6ce4 + 3200341 commit 2a0aa90
Showing 1 changed file with 3 additions and 3 deletions.
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.

0 comments on commit 2a0aa90

Please sign in to comment.