]> git.evergreen-ils.org Git - Evergreen.git/commit
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:03 +0000 (11:00 -0400)
commit23296460c0007d0cacdc3d64b5043cc73045fe25
tree1f7ba44908bda575b34bf6c3f0c415251e5aac8a
parent407afa040870ec3c797396a48ffc93fba9e80434
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