Skip to content

Commit

Permalink
remove deprecated and unnecessary settings from fuse configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
gumaerc committed Jul 10, 2023
1 parent f32ad1b commit 67800d1
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions www-offline/layouts/search/section.html
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,8 @@ <h3 class="col-3 text-center m-auto">Start typing to search</h3>
const Fuse = window.Fuse
const searchOptions = {
shouldSort: true,
threshold: 0.2,
location: 0,
distance: 100,
matchAllTokens: true,
includeScore: true,
maxPatternLength: 32,
threshold: 0.2,
minMatchCharLength: 3,
keys: ["title", "primary_course_number"]
}
Expand Down

0 comments on commit 67800d1

Please sign in to comment.