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 <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Matt Blenkinsop 2023-06-07 16:07:02 +00:00 committed by Tomas Cohen Arazi
parent 4d613494ab
commit ab5dc83400
No known key found for this signature in database
GPG Key ID: 0A272EA1B2F3C15F
1 changed files with 1 additions and 1 deletions

View File

@ -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)