Skip to content

Commit a733f24

Browse files
committed
fix issue with document's dc:title
1 parent 2a97192 commit a733f24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

repo/backend/resources_register_builder.xqm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ declare function resources:getDocumentMetadata(
213213
return
214214
(
215215
$dcTitle,
216-
for $metadata in if ($externalMetadataMap) then $externalMetadataMap/node()[@scope = "document"] else $metadataMap/node()[@scope = "document"]
216+
for $metadata in if ($externalMetadataMap) then $externalMetadataMap/node()[@scope = "document"] else $metadataMap/node()[@scope = "document"][name() != "dc:title"]
217217
return
218218
if ($metadata/@resourceId = "all")
219219
then

0 commit comments

Comments
 (0)