From 6e614dfaefe9194d0a826fda4f0fa556cae432fa Mon Sep 17 00:00:00 2001 From: Joey Takeda Date: Mon, 22 Apr 2024 17:04:23 -0700 Subject: [PATCH 1/2] Small fix to resolve #297 --- xsl/json.xsl | 3 ++- xsl/makeSearchPage.xsl | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/xsl/json.xsl b/xsl/json.xsl index 31cbbae8..768c2777 100644 --- a/xsl/json.xsl +++ b/xsl/json.xsl @@ -697,7 +697,8 @@ - + + diff --git a/xsl/makeSearchPage.xsl b/xsl/makeSearchPage.xsl index 8f153e25..f3264071 100644 --- a/xsl/makeSearchPage.xsl +++ b/xsl/makeSearchPage.xsl @@ -233,6 +233,7 @@ data-allowwildcards="{if ($wildcardSearch) then 'yes' else 'no'}" data-minwordlength="{if ($minWordLength) then $minWordLength else '3'}" data-maxkwicstoshow="{if ($maxKwicsToShow) then $maxKwicsToShow else 10}" + data-scoringalgorithm="{if ($scoringAlgorithm) then $scoringAlgorithm else 'raw'}" data-resultsperpage="{$resultsPerPage}" onsubmit="return false;" data-versionstring="{$versionString}" From 38d90c20c93d253128e0dc012fa16aa218ff5126 Mon Sep 17 00:00:00 2001 From: Joey Takeda Date: Mon, 22 Apr 2024 17:05:17 -0700 Subject: [PATCH 2/2] Remove comment --- xsl/json.xsl | 1 - 1 file changed, 1 deletion(-) diff --git a/xsl/json.xsl b/xsl/json.xsl index 768c2777..f78a53f4 100644 --- a/xsl/json.xsl +++ b/xsl/json.xsl @@ -697,7 +697,6 @@ -