From 67800d14ab4df4b6e48aefb519eacf6ceee5e943 Mon Sep 17 00:00:00 2001 From: Carey Gumaer Date: Fri, 7 Jul 2023 18:31:47 -0400 Subject: [PATCH] remove deprecated and unnecessary settings from fuse configuration --- www-offline/layouts/search/section.html | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/www-offline/layouts/search/section.html b/www-offline/layouts/search/section.html index 591f2ecc3..ca4bd71e8 100644 --- a/www-offline/layouts/search/section.html +++ b/www-offline/layouts/search/section.html @@ -73,12 +73,8 @@

Start typing to search

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"] }