A community-supported supercharged document management system: scan, index and archive all your documents
Python aiangulararchivingdjangodmsdocument-managementdocument-management-systemllmmachine-learningocroptical-character-recognitionpdf
rename some stuff
jonaswinkler9e311241b313
diff --git a/src-ui/src/app/services/rest/document.service.ts b/src-ui/src/app/services/rest/document.service.tsindex 9caaecdb2..c42510270 100644--- a/src-ui/src/app/services/rest/document.service.ts+++ b/src-ui/src/app/services/rest/document.service.ts@@ -28,9 +28,9 @@ export interface SelectionDataItem {}export interface SelectionData {- correspondents: SelectionDataItem[]- tags: SelectionDataItem[]- document_types: SelectionDataItem[]+ selected_correspondents: SelectionDataItem[]+ selected_tags: SelectionDataItem[]+ selected_document_types: SelectionDataItem[]}@Injectable({@@ -125,8 +125,7 @@ export class DocumentService extends AbstractPaperlessService<PaperlessDocument>})}- selectionData(ids: number[]): Observable<SelectionData> {- console.log(ids)+ getSelectionData(ids: number[]): Observable<SelectionData> {return this.http.post<SelectionData>(this.getResourceUrl(null, 'selection_data'), {"documents": ids})}diff --git a/src/documents/views.py b/src/documents/views.pyindex a50896057..ddf02f534 100755--- a/src/documents/views.py+++ b/src/documents/views.py@@ -420,7 +420,7 @@ class SelectionDataView(APIView):"id": t.id,"document_count": t.document_count} for t in tags],- "selected_types": [{+ "selected_document_types": [{"id": t.id,"document_count": t.document_count} for t in types]