From 32003413bf40f7dab64ef65e8d0ed312a6b11399 Mon Sep 17 00:00:00 2001 From: Liam Bigelow <40188355+bglw@users.noreply.github.com> Date: Sat, 21 Dec 2024 13:21:11 +1300 Subject: [PATCH] Update link to test files --- docs/content/docs/js-api-filtering.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/content/docs/js-api-filtering.md b/docs/content/docs/js-api-filtering.md index 4dd4908a..95180631 100644 --- a/docs/content/docs/js-api-filtering.md +++ b/docs/content/docs/js-api-filtering.md @@ -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", @@ -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.