From c063b3799f454893e317569ff4dc308463fa8864 Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Wed, 22 Jul 2026 08:14:53 -0700 Subject: [PATCH] Fix (beta): fix custom field bulk editing for 'all' (#13191) --- .../bulk-editor/bulk-editor.component.ts | 1 + .../custom-fields-bulk-edit-dialog.component.html | 4 ++-- ...ustom-fields-bulk-edit-dialog.component.spec.ts | 14 ++++++++++++++ .../custom-fields-bulk-edit-dialog.component.ts | 8 +++++++- 4 files changed, 24 insertions(+), 3 deletions(-) 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 e17a0f799..60f478670 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 @@ -1020,6 +1020,7 @@ export class BulkEditorComponent ) dialog.selection = this.getSelectionQuery() + dialog.selectionCount = this.getSelectionSize() dialog.succeeded.subscribe((result) => { this.toastService.showInfo($localize`Custom fields updated.`) this.list.reload() diff --git a/src-ui/src/app/components/document-list/bulk-editor/custom-fields-bulk-edit-dialog/custom-fields-bulk-edit-dialog.component.html b/src-ui/src/app/components/document-list/bulk-editor/custom-fields-bulk-edit-dialog/custom-fields-bulk-edit-dialog.component.html index 78bce22a2..da4f47999 100644 --- a/src-ui/src/app/components/document-list/bulk-editor/custom-fields-bulk-edit-dialog/custom-fields-bulk-edit-dialog.component.html +++ b/src-ui/src/app/components/document-list/bulk-editor/custom-fields-bulk-edit-dialog/custom-fields-bulk-edit-dialog.component.html @@ -1,9 +1,9 @@