Skip to content

A community-supported supercharged document management system: scan, index and archive all your documents

Merge branch 'dev' into feature-created-date

shamoon9eee37bc686f
diff --cc src-ui/src/app/components/document-detail/document-detail.component.ts
index f16876c11,c4255e9f7..2abc06193
--- a/src-ui/src/app/components/document-detail/document-detail.component.ts
+++ b/src-ui/src/app/components/document-detail/document-detail.component.ts
@@@ -71,9 -73,10 +73,10 @@@ export class DocumentDetailComponen
documentForm: FormGroup = new FormGroup({
title: new FormControl(''),
content: new FormControl(''),
- created: new FormControl(),
+ created_date: new FormControl(),
correspondent: new FormControl(),
document_type: new FormControl(),
+ storage_path: new FormControl(),
archive_serial_number: new FormControl(),
tags: new FormControl([]),
})
@@@ -207,9 -237,10 +216,10 @@@
this.store = new BehaviorSubject({
title: doc.title,
content: doc.content,
- created: this.ogDate.toISOString(),
+ created_date: doc.created_date,
correspondent: doc.correspondent,
document_type: doc.document_type,
+ storage_path: doc.storage_path,
archive_serial_number: doc.archive_serial_number,
tags: [...doc.tags],
})
diff --cc src-ui/src/app/components/document-list/document-card-large/document-card-large.component.html
index 43e5ad2a8,87ed56d92..1b859f39b
--- a/src-ui/src/app/components/document-list/document-card-large/document-card-large.component.html
+++ b/src-ui/src/app/components/document-list/document-card-large/document-card-large.component.html
@@@ -78,9 -92,8 +92,8 @@@
<path d="M11 6.5a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1z"/>
<path d="M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5zM1 4v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4H1z"/>
</svg>
- <small>{{document.created | customDate:'mediumDate'}}</small>
+ <small>{{document.created_date | customDate:'mediumDate'}}</small>
</div>
-
<div *ngIf="document.__search_hit__?.score" class="list-group-item bg-light text-dark border-0 d-flex p-0 ps-4 search-score">
<small class="text-muted" i18n>Score:</small>
<ngb-progressbar [type]="searchScoreClass" [value]="document.__search_hit__.score" class="search-score-bar mx-2 mt-1" [max]="1"></ngb-progressbar>