Skip to content

Commit 31b8212

Browse files
committed
fix: correct element name
1 parent 4e2e4c3 commit 31b8212

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/config.xqm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ declare variable $config:PUBLICATIONS :=
178178
"select-document": function($document-id) { doc($config:FRUS_COL_VOLUMES || '/' || $document-id || '.xml') },
179179
"select-section": function($document-id, $section-id) {
180180
let $node := doc($config:FRUS_COL_VOLUMES || '/' || $document-id || '.xml')/id($section-id)
181-
let $some-published := root($node)//tei:publicationDesc[@status eq ("published", "partially-published")]
181+
let $some-published := root($node)//tei:revisionDesc[@status = ("published", "partially-published")]
182182
return
183183
(: return 404s for interior divs from volumes that are not yet at least partially published,
184184
since we may need to publish TEI containing just chapter titles,

0 commit comments

Comments
 (0)