From: Bill Erickson Date: Tue, 9 Feb 2021 20:04:38 +0000 (-0500) Subject: LP1888723 Sort new-volum holding orgs alphabetically X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=f06a6525f7a8a76cca33bcb505cf5c1c90121ea9;p=working%2FEvergreen.git 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 --- 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