Skip to content

Commit

Permalink
Merge pull request #454 from Henze-Digital/fix/gl-items-order
Browse files Browse the repository at this point in the history
Fix: ordering of items in generated guidelines
  • Loading branch information
peterstadler authored Mar 19, 2024
2 parents 08d110a + 1eeae17 commit f0500b2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/gl.xqm
Original file line number Diff line number Diff line change
Expand Up @@ -443,6 +443,7 @@ declare function gl:spec-list-items($node as node(), $model as map(*)) as map(*)
let $links :=
for $i in $model?specs-by-initial?items
let $url := gl:link-to-spec($i, $model?lang, 'html', $model?schemaID)
order by $i
return
element a {
attribute href {$url},
Expand Down

0 comments on commit f0500b2

Please sign in to comment.