Bug 32181: ERM - Fix 'filter by expired' when adding an agreement to EBSCO's package
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 11 Nov 2022 15:31:40 +0000 (16:31 +0100)
committerTomas Cohen Arazi <tomascohen@theke.io>
Thu, 17 Nov 2022 17:56:35 +0000 (14:56 -0300)
commitecec606572a19c6d407524ee1c896f0488c25a3c
tree1842894dfbaed2228d8d728e65ada50cc119f670
parent356e136b0f08acba364a62985909e9dcb3a6a31b
Bug 32181: ERM - Fix 'filter by expired' when adding an agreement to EBSCO's package

We shouldn't change the current route (which will lead to change the
view) when we are adding an agreement to a EBSCO's package

Test plan:
Go to E-Resource management / eHoldings / EBSCO / Packages
Search for a package, select one
Click "Add new agreement"
Use the "Filter by expired" filter
=> Without this patch you are redirected to the package list view
=> With this patch applied the table is filtered as expected

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/AgreementsList.vue