A community-supported supercharged document management system: scan, index and archive all your documents
Python aiangulararchivingdjangodmsdocument-managementdocument-management-systemllmmachine-learningocroptical-character-recognitionpdf
Fix: correct card display custom field trackby variable
shamoonff4203938b95
diff --git 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.htmlindex 7e406a7c7..1a8c7df82 100644--- 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@@ -127,7 +127,7 @@<ngb-progressbar [type]="searchScoreClass" [value]="document.__search_hit__.score" class="search-score-bar mx-2 mt-1" [max]="1"></ngb-progressbar></div>}- @for (field of document.custom_fields; track field.id) {+ @for (field of document.custom_fields; track field.field) {@if (displayFields.includes(DisplayField.CUSTOM_FIELD + field.field)) {<div class="list-group-item bg-light text-dark p-1 border-0 d-flex align-items-center"><i-bs width=".9em" height=".9em" class="me-2 text-muted" name="ui-radios"></i-bs>diff --git a/src-ui/src/app/components/document-list/document-card-small/document-card-small.component.html b/src-ui/src/app/components/document-list/document-card-small/document-card-small.component.htmlindex 9667163fb..92449214e 100644--- a/src-ui/src/app/components/document-list/document-card-small/document-card-small.component.html+++ b/src-ui/src/app/components/document-list/document-card-small/document-card-small.component.html@@ -106,7 +106,7 @@<small i18n>Shared</small></div>}- @for (field of document.custom_fields; track field.id) {+ @for (field of document.custom_fields; track field.field) {@if (displayFields.includes(DisplayField.CUSTOM_FIELD + field.field)) {<div class="ps-0 p-1 d-flex align-items-center overflow-hidden"><i-bs width="1em" height="1em" class="me-2 text-muted" name="ui-radios"></i-bs>