Skip to content

Commit

Permalink
Add creation date for dossiers and documents
Browse files Browse the repository at this point in the history
  • Loading branch information
buchi committed Dec 12, 2024
1 parent 9c5f71d commit 114fc38
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions opengever/exportng/sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,7 @@ class DossierSyncer(CatalogSyncer):
Attribute('title', 'botitle', 'varchar', None),
Attribute('description', 'bodescription', 'varchar', None),
Attribute('Creator', 'objcreatedby', 'varchar', None),
Attribute('created', 'objcreatedat', 'datetime', as_datetime),
Attribute('review_state', 'bostate', 'varchar', get_dossier_state),
# Attribute('keywords', 'keywords', 'varchar', None),
Attribute('start', 'objvalidfrom', 'date', None),
Expand Down Expand Up @@ -333,6 +334,7 @@ class DocumentSyncer(CatalogSyncer):
Attribute('parent', 'objprimaryrelated', 'varchar', parent_uid),
Attribute('title', 'objname', 'varchar', None),
Attribute('Creator', 'objcreatedby', 'varchar', None),
Attribute('created', 'objcreatedat', 'datetime', as_datetime),
Attribute('file', '_file', 'jsonb', get_filedata),
Attribute('extension', 'extension', 'varchar', get_file_extension),
# Attribute('changed', 'changed', 'datetime', None)
Expand Down

0 comments on commit 114fc38

Please sign in to comment.