From 6d6d2b4475a78824c8f8852a934255a66c63201f Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Wed, 10 May 2023 10:21:35 -0400 Subject: [PATCH] LP#2019032: restore functionality of two line item actions The "Add Brief Record" and "Load Bibs and Items" actions in the Angular line item manager stopped working after the upgrade to Angular 15. It turns out that the routerLink values associated with those two actions were always incorrect, but for some reason Angular 12's router worked around the error. Angular 15 does not, hence this patch. To test ------- [1] Navigate to a pending purchase order. [2] Attempt the "Add Brief Record" and "Load Bibs and Items" items from the Actions drop-down. Note that the request forms do not display and the purchase order title becomes "Purchase Order #NaN (pending)". [3] Apply the patch and repeat step 2. This time, the two actions should bring up the correct forms. Signed-off-by: Galen Charlton Signed-off-by: Jason Boyer Signed-off-by: Jeff Godin --- .../acq/lineitem/lineitem-list.component.html | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Open-ILS/src/eg2/src/app/staff/acq/lineitem/lineitem-list.component.html b/Open-ILS/src/eg2/src/app/staff/acq/lineitem/lineitem-list.component.html index 5845599..8cedee1 100644 --- a/Open-ILS/src/eg2/src/app/staff/acq/lineitem/lineitem-list.component.html +++ b/Open-ILS/src/eg2/src/app/staff/acq/lineitem/lineitem-list.component.html @@ -43,7 +43,7 @@
- Add Brief Record - Load Bibs and Items