Commit e6889094 authored by Mathias Goebel's avatar Mathias Goebel 🎠
Browse files


parent c2ea5d2b
......@@ -137,7 +137,7 @@ declare function fsearch:result-kwic($node as node(), $model as map(*)) {
let $kwic-width := config:get("faceted-search", "kwic-width")
order by ft:score($hit) descending
for $i in 1 to xs:integer(config:get( "kwic-hits"),"faceted-search"))
for $i in 1 to xs:integer(config:get("kwic-hits", "faceted-search"))
if(($expanded//exist:match)[$i]) then
kwic:get-summary($expanded, ($expanded//exist:match)[$i], <config width="{$kwic-width}"/>)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment