Skip to content

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

fixed an issue with clickable types and correspondents on the docment table list

jonaswinkler50aedc109401
diff --git a/src-ui/src/app/components/document-list/document-list.component.html b/src-ui/src/app/components/document-list/document-list.component.html
index 3bb7e00c7..5c09f6c13 100644
--- a/src-ui/src/app/components/document-list/document-list.component.html
+++ b/src-ui/src/app/components/document-list/document-list.component.html
@@ -93,7 +93,7 @@
</td>
<td class="d-none d-md-table-cell">
<ng-container *ngIf="d.correspondent">
- <a [routerLink]="" (click)="clickCorrespondent(d.correspondent.id)" title="Filter by correspondent">{{(d.correspondent$ | async)?.name}}</a>
+ <a [routerLink]="" (click)="clickCorrespondent(d.correspondent)" title="Filter by correspondent">{{(d.correspondent$ | async)?.name}}</a>
</ng-container>
</td>
<td>
@@ -102,7 +102,7 @@
</td>
<td class="d-none d-xl-table-cell">
<ng-container *ngIf="d.document_type">
- <a [routerLink]="" (click)="clickDocumentType(d.document_type.id)" title="Filter by document type">{{(d.document_type$ | async)?.name}}</a>
+ <a [routerLink]="" (click)="clickDocumentType(d.document_type)" title="Filter by document type">{{(d.document_type$ | async)?.name}}</a>
</ng-container>
</td>
<td>