From: Galen Charlton Date: Wed, 10 May 2023 14:21:35 +0000 (-0400) Subject: LP#2019032: restore functionality of two line item actions X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=23296460c0007d0cacdc3d64b5043cc73045fe25;p=Evergreen.git 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 --- 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 5845599b4c..8cedee14fa 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