A community-supported supercharged document management system: scan, index and archive all your documents
Python aiangulararchivingdjangodmsdocument-managementdocument-management-systemllmmachine-learningocroptical-character-recognitionpdf
Merge branch 'feature-bulk-edit' into feature-bulk-editor
Michael Shamoon4cae338479b7
diff --cc src-ui/src/app/components/document-list/document-list.component.htmlindex 970d41ec4,25bcb7468..36c6daa5b--- a/src-ui/src/app/components/document-list/document-list.component.html+++ b/src-ui/src/app/components/document-list/document-list.component.html@@@ -149,7 -146,7 +149,6 @@@</tbody></table>--- <div class="m-n2 row m-n2 row row-cols-paperless-cards" *ngIf="displayMode == 'smallCards'">- <app-document-card-small [document]="d" [selected]="list.isSelected(d)" (selectedChange)="list.setSelected(d, $event)" *ngFor="let d of list.documents" (clickTag)="clickTag($event)" (clickCorrespondent)="clickCorrespondent($event)"></app-document-card-small>+ <div class="m-n2 row row-cols-paperless-cards" *ngIf="displayMode == 'smallCards'">+ <app-document-card-small [selected]="list.isSelected(d)" (selectedChange)="list.setSelected(d, $event)" [document]="d" *ngFor="let d of list.documents; trackBy: trackByDocumentId" (clickTag)="clickTag($event)" (clickCorrespondent)="clickCorrespondent($event)"></app-document-card-small></div>diff --cc src-ui/src/app/components/document-list/document-list.component.tsindex cfce55a0d,5eb97b08d..2575e4b49--- a/src-ui/src/app/components/document-list/document-list.component.ts+++ b/src-ui/src/app/components/document-list/document-list.component.ts@@@ -3,6 -3,8 +3,7 @@@ import { ActivatedRoute, Router } fromimport { NgbModal } from '@ng-bootstrap/ng-bootstrap';import { Observable } from 'rxjs';import { map } from 'rxjs/operators';-import { FILTER_CORRESPONDENT } from 'src/app/data/filter-rule-type';+ import { PaperlessDocument } from 'src/app/data/paperless-document';import { PaperlessSavedView } from 'src/app/data/paperless-saved-view';import { DocumentListViewService } from 'src/app/services/document-list-view.service';import { CorrespondentService } from 'src/app/services/rest/correspondent.service';@@@ -133,12 -122,13 +134,16 @@@ export class DocumentListComponent impl}clickDocumentType(documentTypeID: number) {- this.filterEditor.toggleDocumentType(documentTypeID)+ this.list.selectNone()+ setTimeout(() => {+ this.filterEditor.toggleDocumentType(documentTypeID)+ })}+ trackByDocumentId(index, item: PaperlessDocument) {+ return item.id+ }+private executeBulkOperation(method: string, args): Observable<any> {return this.documentService.bulkEdit(Array.from(this.list.selected), method, args).pipe(map(r => {