We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d0d8373 commit 27017dbCopy full SHA for 27017db
src/main/xar-resources/modules/search.xql
@@ -175,11 +175,13 @@ function dq:match-to-copy($element as element()) as element() {
175
declare
176
%private
177
function dq:to-uri-query($search-params as map(xs:string, xs:string)) as xs:string {
178
- let $string :=
179
string-join(
180
- map:for-each($search-params, function($k, $v) { $k || "=" || $v }),
+ map:for-each($search-params, function($k, $v) {
+ if ($k eq "q" and $v eq "xsl") then
181
+ ()
182
+ else
183
+ $k || "=" || $v
184
+ }),
185
"&"
- )
- return
- substring-after($string, 'q=xsl&')
186
+ )
187
};
0 commit comments