diff --git a/src-ui/messages.xlf b/src-ui/messages.xlf
index 65e25d8ba..842d0efb3 100644
--- a/src-ui/messages.xlf
+++ b/src-ui/messages.xlf
@@ -2549,15 +2549,15 @@
src/app/components/document-list/bulk-editor/bulk-editor.component.ts
- 793
+ 796
src/app/components/document-list/bulk-editor/bulk-editor.component.ts
- 826
+ 829
src/app/components/document-list/bulk-editor/bulk-editor.component.ts
- 845
+ 848
src/app/components/manage/custom-fields/custom-fields.component.ts
@@ -3143,27 +3143,27 @@
src/app/components/document-list/bulk-editor/bulk-editor.component.ts
- 436
+ 439
src/app/components/document-list/bulk-editor/bulk-editor.component.ts
- 476
+ 479
src/app/components/document-list/bulk-editor/bulk-editor.component.ts
- 514
+ 517
src/app/components/document-list/bulk-editor/bulk-editor.component.ts
- 552
+ 555
src/app/components/document-list/bulk-editor/bulk-editor.component.ts
- 614
+ 617
src/app/components/document-list/bulk-editor/bulk-editor.component.ts
- 747
+ 750
@@ -6143,7 +6143,7 @@
src/app/components/document-list/bulk-editor/bulk-editor.component.ts
- 381
+ 384
this string is used to separate processing, failed and added on the file upload widget
@@ -6676,7 +6676,7 @@
src/app/components/document-list/bulk-editor/bulk-editor.component.ts
- 749
+ 752
@@ -6687,7 +6687,7 @@
src/app/components/document-list/bulk-editor/bulk-editor.component.ts
- 751
+ 754
@@ -6705,7 +6705,7 @@
src/app/components/document-list/bulk-editor/bulk-editor.component.ts
- 789
+ 792
@@ -6786,7 +6786,7 @@
src/app/components/document-list/bulk-editor/bulk-editor.component.ts
- 823
+ 826
@@ -6982,25 +6982,25 @@
Error executing bulk operation
src/app/components/document-list/bulk-editor/bulk-editor.component.ts
- 285
+ 288
""
src/app/components/document-list/bulk-editor/bulk-editor.component.ts
- 373
+ 376
src/app/components/document-list/bulk-editor/bulk-editor.component.ts
- 379
+ 382
"" and ""
src/app/components/document-list/bulk-editor/bulk-editor.component.ts
- 375
+ 378
This is for messages like 'modify "tag1" and "tag2"'
@@ -7008,7 +7008,7 @@
and ""
src/app/components/document-list/bulk-editor/bulk-editor.component.ts
- 383,385
+ 386,388
this is for messages like 'modify "tag1", "tag2" and "tag3"'
@@ -7016,14 +7016,14 @@
Confirm tags assignment
src/app/components/document-list/bulk-editor/bulk-editor.component.ts
- 400
+ 403
This operation will add the tag "" to selected document(s).
src/app/components/document-list/bulk-editor/bulk-editor.component.ts
- 406
+ 409
@@ -7032,14 +7032,14 @@
)"/> to selected document(s).
src/app/components/document-list/bulk-editor/bulk-editor.component.ts
- 411,413
+ 414,416
This operation will remove the tag "" from selected document(s).
src/app/components/document-list/bulk-editor/bulk-editor.component.ts
- 419
+ 422
@@ -7048,7 +7048,7 @@
)"/> from selected document(s).
src/app/components/document-list/bulk-editor/bulk-editor.component.ts
- 424,426
+ 427,429
@@ -7059,84 +7059,84 @@
)"/> on selected document(s).
src/app/components/document-list/bulk-editor/bulk-editor.component.ts
- 428,432
+ 431,435
Confirm correspondent assignment
src/app/components/document-list/bulk-editor/bulk-editor.component.ts
- 469
+ 472
This operation will assign the correspondent "" to selected document(s).
src/app/components/document-list/bulk-editor/bulk-editor.component.ts
- 471
+ 474
This operation will remove the correspondent from selected document(s).
src/app/components/document-list/bulk-editor/bulk-editor.component.ts
- 473
+ 476
Confirm document type assignment
src/app/components/document-list/bulk-editor/bulk-editor.component.ts
- 507
+ 510
This operation will assign the document type "" to selected document(s).
src/app/components/document-list/bulk-editor/bulk-editor.component.ts
- 509
+ 512
This operation will remove the document type from selected document(s).
src/app/components/document-list/bulk-editor/bulk-editor.component.ts
- 511
+ 514
Confirm storage path assignment
src/app/components/document-list/bulk-editor/bulk-editor.component.ts
- 545
+ 548
This operation will assign the storage path "" to selected document(s).
src/app/components/document-list/bulk-editor/bulk-editor.component.ts
- 547
+ 550
This operation will remove the storage path from selected document(s).
src/app/components/document-list/bulk-editor/bulk-editor.component.ts
- 549
+ 552
Confirm custom field assignment
src/app/components/document-list/bulk-editor/bulk-editor.component.ts
- 578
+ 581
This operation will assign the custom field "" to selected document(s).
src/app/components/document-list/bulk-editor/bulk-editor.component.ts
- 584
+ 587
@@ -7145,14 +7145,14 @@
)"/> to selected document(s).
src/app/components/document-list/bulk-editor/bulk-editor.component.ts
- 589,591
+ 592,594
This operation will remove the custom field "" from selected document(s).
src/app/components/document-list/bulk-editor/bulk-editor.component.ts
- 597
+ 600
@@ -7161,7 +7161,7 @@
)"/> from selected document(s).
src/app/components/document-list/bulk-editor/bulk-editor.component.ts
- 602,604
+ 605,607
@@ -7172,70 +7172,70 @@
)"/> on selected document(s).
src/app/components/document-list/bulk-editor/bulk-editor.component.ts
- 606,610
+ 609,613
Move selected document(s) to the trash?
src/app/components/document-list/bulk-editor/bulk-editor.component.ts
- 748
+ 751
This operation will permanently recreate the archive files for selected document(s).
src/app/components/document-list/bulk-editor/bulk-editor.component.ts
- 790
+ 793
The archive files will be re-generated with the current settings.
src/app/components/document-list/bulk-editor/bulk-editor.component.ts
- 791
+ 794
This operation will permanently rotate the original version of document(s).
src/app/components/document-list/bulk-editor/bulk-editor.component.ts
- 824
+ 827
Merge confirm
src/app/components/document-list/bulk-editor/bulk-editor.component.ts
- 843
+ 846
This operation will merge selected documents into a new document.
src/app/components/document-list/bulk-editor/bulk-editor.component.ts
- 844
+ 847
Merged document will be queued for consumption.
src/app/components/document-list/bulk-editor/bulk-editor.component.ts
- 860
+ 863
Custom fields updated.
src/app/components/document-list/bulk-editor/bulk-editor.component.ts
- 882
+ 885
Error updating custom fields.
src/app/components/document-list/bulk-editor/bulk-editor.component.ts
- 891
+ 894
diff --git a/src-ui/src/app/components/document-list/bulk-editor/bulk-editor.component.spec.ts b/src-ui/src/app/components/document-list/bulk-editor/bulk-editor.component.spec.ts
index 21b8f4175..aa4a07d12 100644
--- a/src-ui/src/app/components/document-list/bulk-editor/bulk-editor.component.spec.ts
+++ b/src-ui/src/app/components/document-list/bulk-editor/bulk-editor.component.spec.ts
@@ -1039,6 +1039,7 @@ describe('BulkEditorComponent', () => {
httpTestingController.match(
`${environment.apiBaseUrl}documents/?page=1&page_size=100000&fields=id`
) // listAllFilteredIds
+ expect(documentListViewService.selected.size).toEqual(0)
})
it('should support bulk download with archive, originals or both and file formatting', () => {
diff --git a/src-ui/src/app/components/document-list/bulk-editor/bulk-editor.component.ts b/src-ui/src/app/components/document-list/bulk-editor/bulk-editor.component.ts
index 5750c4b2f..9864761fa 100644
--- a/src-ui/src/app/components/document-list/bulk-editor/bulk-editor.component.ts
+++ b/src-ui/src/app/components/document-list/bulk-editor/bulk-editor.component.ts
@@ -268,6 +268,9 @@ export class BulkEditorComponent
.pipe(first())
.subscribe({
next: () => {
+ if (args['delete_originals']) {
+ this.list.selected.clear()
+ }
this.list.reload()
this.list.reduceSelectionToFilter()
this.list.selected.forEach((id) => {