Skip to content

Commit 37b8b1c

Browse files
committed
remove any query value from uri...
even when its not xsl
1 parent babf86e commit 37b8b1c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/main/xar-resources/modules/search.xql

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -177,11 +177,11 @@ declare
177177
function dq:to-uri-query($search-params as map(xs:string, xs:string)) as xs:string {
178178
string-join(
179179
map:for-each($search-params, function($k, $v) {
180-
if ($k eq "q" and $v eq "xsl") then
180+
if ($k eq "q") then
181181
()
182-
else
183-
$k || "=" || $v
182+
else
183+
$k || "=" || $v
184184
}),
185185
"&"
186-
)
186+
)
187187
};

0 commit comments

Comments
 (0)