mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-10 00:35:30 +01:00
basic support for bulk editing.
This commit is contained in:
parent
fd4c9a1758
commit
35124023f0
4 changed files with 52 additions and 16 deletions
|
|
@ -66,4 +66,12 @@ export class DocumentService extends AbstractPaperlessService<PaperlessDocument>
|
|||
return this.http.post(this.getResourceUrl(null, 'post_document'), formData)
|
||||
}
|
||||
|
||||
bulk_edit(ids: number[], method: string, args: any[]) {
|
||||
return this.http.post(this.getResourceUrl(null, 'bulk_edit'), {
|
||||
'ids': ids,
|
||||
'method': method,
|
||||
'args': args
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue