From: Bill Erickson Date: Wed, 10 Jun 2020 15:46:39 +0000 (-0400) Subject: LP1883126 Angular accesskey sort repair X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=58c6a508a37f03acfc661091a848dc3109bfd7d9;p=Evergreen.git LP1883126 Angular accesskey sort repair Fixes sorting issue in Angular egAccessKey directive to ensure that the most recent additions are given highest priority and to ensure that like keys (same action) are sorted next to each other in the control-h help dialog. Signed-off-by: Bill Erickson Signed-off-by: Terran McCanna --- diff --git a/Open-ILS/src/eg2/src/app/share/accesskey/accesskey.service.ts b/Open-ILS/src/eg2/src/app/share/accesskey/accesskey.service.ts index 34d6666c30..3b73234c3b 100644 --- a/Open-ILS/src/eg2/src/app/share/accesskey/accesskey.service.ts +++ b/Open-ILS/src/eg2/src/app/share/accesskey/accesskey.service.ts @@ -34,7 +34,7 @@ export class AccessKeyService { a.shadowed = true; } } - list.unshift(a); + list.push(a); }); list.unshift(assn);