Skip to content

Commit

Permalink
Make search feature search the whole description (#542)
Browse files Browse the repository at this point in the history
* Make search feature search the whole description

* chore: run CI

---------

Co-authored-by: topshenyi-web <[email protected]>
  • Loading branch information
ajxu2 and cirex-web authored Feb 2, 2025
1 parent 939de21 commit dbb0c8f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/pages/ListPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ function ListPage({
// keys to perform the search on
keys: ['name', 'location', 'shortDescription'],
threshold: 0.3,
ignoreLocation: true,
};

const [fuse, setFuse] = useState<Fuse<IReadOnlyExtendedLocation> | null>(
Expand Down

0 comments on commit dbb0c8f

Please sign in to comment.