Skip to content

Commit

Permalink
fix last-modified error on sesqui document pages
Browse files Browse the repository at this point in the history
  • Loading branch information
joewiz committed Oct 15, 2024
1 parent 8721052 commit 22ff28a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions modules/config.xqm
Original file line number Diff line number Diff line change
Expand Up @@ -680,6 +680,9 @@ declare variable $config:PUBLICATIONS :=
}
},
"frus-history-documents": map {
"collection": $config:FRUS_HISTORY_DOCUMENTS_COL,
"document-last-modified": function($document-id) { xmldb:last-modified($config:FRUS_HISTORY_DOCUMENTS_COL, $document-id || '.xml') },
"document-created": function($document-id) { xmldb:created($config:FRUS_HISTORY_DOCUMENTS_COL, $document-id || '.xml') },
"next": frus-history:get-next-doc#1,
"previous": frus-history:get-previous-doc#1,
"select-document": function($document-id) { doc($config:FRUS_HISTORY_DOCUMENTS_COL || "/" || $document-id || ".xml") },
Expand Down

0 comments on commit 22ff28a

Please sign in to comment.