Skip to content

Commit

Permalink
fix for #214
Browse files Browse the repository at this point in the history
* integrates changes from Max-Reger-Institut@e862266
  • Loading branch information
nikobeer committed Nov 6, 2024
1 parent 29dbe65 commit 9299b5f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions add/data/xql/getInternalIdType.xql
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ let $internal :=
let $measureN := functx:substring-after-last($internalId, '_')
return (
if ($doc/id($mdivId)//mei:measure/@label) then
$doc/id($mdivId)//mei:measure[@label eq $measureN][1]
$doc/id($mdivId)//mei:measure[@label][1]
else
$doc/id($mdivId)//mei:measure[@n eq $measureN][1]
$doc/id($mdivId)//mei:measure[@n][1]
)
) else
($internal)
Expand Down

0 comments on commit 9299b5f

Please sign in to comment.