Skip to content

Commit

Permalink
Merge pull request #463 from HistoryAtState/fix-sesqui-docs
Browse files Browse the repository at this point in the history
Fix last-modified error on frus-history (sesqui) document pages
  • Loading branch information
line-o authored Oct 16, 2024
2 parents 8721052 + ad0234e commit cc04d42
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 cc04d42

Please sign in to comment.