LP#2019032: restore functionality of two line item actions
authorGalen Charlton <gmc@equinoxOLI.org>
Wed, 10 May 2023 14:21:35 +0000 (10:21 -0400)
committerJeff Godin <jgodin@tadl.org>
Wed, 10 May 2023 15:00:26 +0000 (11:00 -0400)
commit6d6d2b4475a78824c8f8852a934255a66c63201f
treec814d77d5b2b92a56c845fb54e0bd77579d040b5
parent1608860dc3376201c224a3d032e61fd4dfd3ba26
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 <gmc@equinoxOLI.org>
Signed-off-by: Jason Boyer <JBoyer@equinoxOLI.org>
Signed-off-by: Jeff Godin <jgodin@tadl.org>
Open-ILS/src/eg2/src/app/staff/acq/lineitem/lineitem-list.component.html