Skip to content

Commit

Permalink
fixed the creation of writings normdates
Browse files Browse the repository at this point in the history
  • Loading branch information
peterstadler committed Jul 25, 2013
1 parent b86ecd5 commit a479940
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.DS_Store
.sass-cache
2 changes: 1 addition & 1 deletion webapp/xql/modules/wega.xqm
Original file line number Diff line number Diff line change
Expand Up @@ -2611,7 +2611,7 @@ declare function wega:createWritingNormDates() {
attribute xml:id {$xmlID},
for $i in $coll
let $docID := $i//tei:TEI/string(@xml:id)
let $normDate := wega:getOneNormalizedDate($i//tei:imprint/tei:date, false())
let $normDate := wega:getOneNormalizedDate($i//tei:sourceDesc/tei:*/tei:monogr/tei:imprint/tei:date, false())
let $n := string-join($i//tei:monogr/tei:title[@level = 'j'], '. ')
order by $normDate, $n
return
Expand Down

0 comments on commit a479940

Please sign in to comment.