mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-11-03 03:16:10 -06:00 
			
		
		
		
	basic support for bulk editing.
This commit is contained in:
		@@ -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
 | 
			
		||||
    })
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user