Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
SADE
SADE
Commits
39a4a0e5
Commit
39a4a0e5
authored
May 03, 2017
by
Ubbo Veentjer
Browse files
remove index chooser
parent
88368848
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/modules/faceted-search/faceted-search.xqm
View file @
39a4a0e5
...
...
@@ -52,19 +52,6 @@ function fsearch:searchquery($node as node(), $model as map(*)) {
return <input type="text" value="{$query}" name="q" class="form-control" />
};
declare
%templates:wrap
function fsearch:choose-index($node as node(), $model as map(*)) {
let $selected := request:get-parameter("index", "default")
for $index in ("fontane", "default" )
return
if ($index eq $selected) then
<option selected="selected">{$index}</option>
else
<option>{$index}</option>
};
declare
%templates:wrap
function fsearch:hitcount($node as node(), $model as map(*)) {
...
...
@@ -286,7 +273,6 @@ declare function local:deselected-for-key($model, $key as xs:string) {
declare function local:get-hits($model as map(*), $target as xs:string) as node()*{
let $query := request:get-parameter("q", ())
let $index := request:get-parameter("index", "default")
let $fxquery := local:construct-facet-query($model)
let $options :=
<options>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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