Commit 1af37094 authored by Mathias Goebel's avatar Mathias Goebel 🎠
Browse files

new config for facets

parent 4be60ddf
......@@ -201,7 +201,7 @@ declare function local:facet($model as map(*), $hits as node()*, $key as xs:stri
let $facetReq := local:facet-query-from-request()
(: the link to the html page displaying this module :)
let $search-html := config:get('exist-resource')
let $search-html := tokenize(request:get-url(), "/")[last()]
(:construct xpath, e.g. $hits//tei:persName | $hits//bol:a0 :)
let $fqueries := for $type in $types
......@@ -250,7 +250,7 @@ declare function local:deselected-for-key($model, $key as xs:string) {
let $order-by := request:get-parameter("order-by", ())
(: the link to the html page displaying this module :)
let $search-html := config:get('exist-resource')
let $search-html := tokenize(request:get-url(), "/")[last()]
let $facetReq := local:facet-query-from-request()
......
Markdown is supported
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