From d47bbeb69fc5f258b70f9041f385c120abb81ca6 Mon Sep 17 00:00:00 2001 From: Matt Blenkinsop Date: Wed, 7 Jun 2023 16:07:02 +0000 Subject: [PATCH] Bug 33941: Fix wrong URL name in EBSCOPackagesList This patch fixes a URL pointing to the wrong route which stops filtering from working in the table. Note: To test you will need some EBSCO credentials Test plan: 1) In ERM, go to EBSCO > Packages and search for a package 2) It should fail with a warning in the console saying that a required param "package_id" is missing 3) Apply patch 4) Repeat step 1 5) It should now successfully fetch packages Signed-off-by: Jonathan Druart Signed-off-by: Tomas Cohen Arazi (cherry picked from commit ab5dc834009b846e3850ca8eb34c3fdb43f855a1) Signed-off-by: Martin Renvoize (cherry picked from commit 6b8f272404e0c245ce691918405b6c7bd9642f50) Signed-off-by: Matt Blenkinsop --- .../prog/js/vue/components/ERM/EHoldingsEBSCOPackagesList.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/EHoldingsEBSCOPackagesList.vue b/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/EHoldingsEBSCOPackagesList.vue index b6dc1b7c96..a9a78235e5 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/EHoldingsEBSCOPackagesList.vue +++ b/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/EHoldingsEBSCOPackagesList.vue @@ -161,7 +161,7 @@ export default { }, filter_table: async function () { let { href } = this.$router.resolve({ - name: "EHoldingsEBSCOPackagesShow", + name: "EHoldingsEBSCOPackagesList", }) let new_route = build_url(href, this.filters) this.$router.push(new_route) -- 2.39.2