Commit 5523e157 authored by Wolfgang's avatar Wolfgang

Fix after search navigation issue for docbook as well

parent 4e205f50
......@@ -157,8 +157,12 @@ declare function dbs:expand($data as element()) {
let $query := session:get-attribute($config:session-prefix || ".query")
let $field := session:get-attribute($config:session-prefix || ".field")
let $div := $data
let $result := dbs:query-default-view($div, $query, $field)
let $expanded :=
util:expand(dbs:query-default-view($div, $query, $field), "add-exist-id=all")
if (exists($result)) then
util:expand($result, "add-exist-id=all")
else
$div
return
$expanded
};
......
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