Skip to content

Commit

Permalink
Merge branch 'dev' into iss-300-sindot
Browse files Browse the repository at this point in the history
  • Loading branch information
martindholmes committed May 6, 2024
2 parents b8e6906 + e302356 commit a950e79
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion xsl/json.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -697,7 +697,7 @@
</xd:doc>
<xsl:function name="hcmc:getTotalTermsInDoc" as="xs:integer" new-each-time="no">
<xsl:param name="docUri" as="xs:string"/>
<xsl:variable name="thisDoc" select="$tokenizedDocs[document-uri(.) = $docUri]" as="document-node()"/>
<xsl:variable name="thisDoc" select="$tokenizedDocs[base-uri(.) = $docUri]" as="document-node()"/>
<xsl:variable name="thisDocSpans" select="$thisDoc//span[@ss-stem]" as="element(span)*"/>
<!--We tokenize these since there can be multiple stems for a given span-->
<xsl:variable name="thisDocStems" select="for $span in $thisDocSpans return tokenize($span/@ss-stem,'\s+')" as="xs:string+"/>
Expand Down
1 change: 1 addition & 0 deletions xsl/makeSearchPage.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down

0 comments on commit a950e79

Please sign in to comment.