Commit 0913dedc authored by Ubbo Veentjer's avatar Ubbo Veentjer
Browse files

choosing index does not work with facetes

parent ae33a125
......@@ -292,7 +292,7 @@ declare function local:get-hits($model as map(*), $target as xs:string) as node(
let $xqueries := for $query-root in $model("config")//module[@key="faceted-search"]/param[@key="query-root"]//xpath
return
if($query) then
"collection($target)" || $query-root || $fxquery || "[ft:query-field($index, $query)]"
"collection($target)" || $query-root || $fxquery || "[ft:query(., $query)]"
else
"collection($target)" || $query-root || $fxquery
......
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