From f06a6525f7a8a76cca33bcb505cf5c1c90121ea9 Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Tue, 9 Feb 2021 15:04:38 -0500 Subject: [PATCH] LP1888723 Sort new-volum holding orgs alphabetically When adding new call numbers to newly represented org units in the volcopy holdings grid, ensure newly added org units are sorted alphabetically by the org unit shortname. Signed-off-by: Bill Erickson Signed-off-by: Ruth Frasur Signed-off-by: Galen Charlton --- Open-ILS/src/eg2/src/app/staff/cat/volcopy/vol-edit.component.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/Open-ILS/src/eg2/src/app/staff/cat/volcopy/vol-edit.component.ts b/Open-ILS/src/eg2/src/app/staff/cat/volcopy/vol-edit.component.ts index 12668bf4d1..4fb93a191e 100644 --- a/Open-ILS/src/eg2/src/app/staff/cat/volcopy/vol-edit.component.ts +++ b/Open-ILS/src/eg2/src/app/staff/cat/volcopy/vol-edit.component.ts @@ -126,6 +126,7 @@ export class VolEditComponent implements OnInit { if (!org) { return; } const orgNode = this.context.findOrCreateOrgNode(org.id()); this.createVols(orgNode, 1); + this.context.sortHoldings(); } // This only removes copies that were created during the -- 2.11.0