Skip to content

Commit

Permalink
"in Ethio-SPaRe" only for E-S mss
Browse files Browse the repository at this point in the history
  • Loading branch information
eu-genia committed Jun 24, 2022
1 parent e9d35d7 commit 2402032
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions db/apps/BetMasWeb/modules/apprest.xqm
Original file line number Diff line number Diff line change
Expand Up @@ -651,15 +651,15 @@ return
{for $change in $document//t:revisionDesc/t:change
let $time := $change/@when
let $author := editors:editorKey(string($change/@who))
let $ES := if(contains($change/text(), 'Ethio-SPaRe team photographed the manuscript')) then () else if (xs:date($time) ge xs:date('2016-05-10')) then () else ' in Ethio-SPaRe '
let $collection := $change/ancestor::t:TEI//t:collection
let $ES := if(contains($change/text(), 'Ethio-SPaRe team photographed the manuscript')) then () else if (xs:date($time) ge xs:date('2016-05-10')) then () else if (not(starts-with($collection/text(), 'Ethio-'))) then () else ' in Ethio-SPaRe '
order by $time descending
return
<li>
{(if (contains($change/text(), 'Ethio-SPaRe team photographed the manuscript')) then () else <span property="http://purl.org/dc/elements/1.1/contributor">{$author}</span>),
(' ' || $change/text() || $ES || ' on ' || format-date($time, '[D].[M].[Y]'))}
</li>
}

</ul>
</div>
</div>
Expand Down

0 comments on commit 2402032

Please sign in to comment.