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

config:get

parent 356b6e39
......@@ -24,7 +24,7 @@ declare function fsearch:results($node as node(), $model as map(*)) as map()* {
order by util:eval($order-by) ascending
return $hit
let $num := try{ xs:integer(config:module-get("hits-per-page", "faceted-search")) } catch * {0}
let $num := try{ xs:integer(config:get("hits-per-page", "faceted-search")) } catch * {0}
let $pages := try { ceiling(count($hits) div $num) } catch * { 0 }
let $start := $page * $num - $num + 1
......
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