Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SADE
SADE
Commits
0913dedc
Commit
0913dedc
authored
May 03, 2017
by
Ubbo Veentjer
Browse files
choosing index does not work with facetes
parent
ae33a125
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/modules/faceted-search/faceted-search.xqm
View file @
0913dedc
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment