mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-09 16:25:33 +01:00
Frontend UI for redo OCR
This commit is contained in:
parent
13ffe468df
commit
c9bdf1c184
4 changed files with 47 additions and 15 deletions
|
|
@ -118,3 +118,10 @@ def delete(doc_ids):
|
|||
index.remove_document_by_id(writer, id)
|
||||
|
||||
return "OK"
|
||||
|
||||
|
||||
def redo_ocr(doc_ids):
|
||||
|
||||
async_task("documents.tasks.redo_ocr", document_ids=doc_ids)
|
||||
|
||||
return "OK"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue