Skip to content

Commit

Permalink
fix(navigation) use correct field for dbk documents
Browse files Browse the repository at this point in the history
  • Loading branch information
tuurma committed Sep 25, 2020
1 parent ff232bf commit cc5dec7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/navigation-dbk.xql
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import module namespace config="http://www.tei-c.org/tei-simple/config" at "conf

declare function nav:get-root($root as xs:string?, $options as map(*)?) {
$config:data-root !
collection(. || "/" || $root)//dbk:article[ft:query(., "file:*", $options)]
collection(. || "/" || $root)//dbk:article[ft:query(., "db-file:*", $options)]
};

declare function nav:get-header($config as map(*), $node as element()) {
Expand Down

0 comments on commit cc5dec7

Please sign in to comment.