Bugzilla – Attachment 151352 Details for
Bug 33606
Access to ERM requires parameters => 'manage_sysprefs'
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 33606: Fix settings
Bug-33606-Fix-settings.patch (text/plain), 2.62 KB, created by
Pedro Amorim
on 2023-05-17 16:34:17 UTC
(
hide
)
Description:
Bug 33606: Fix settings
Filename:
MIME Type:
Creator:
Pedro Amorim
Created:
2023-05-17 16:34:17 UTC
Size:
2.62 KB
patch
obsolete
>From 7e417b133e21c0d20c1e76d158099023df95343e Mon Sep 17 00:00:00 2001 >From: Pedro Amorim <pedro.amorim@ptfs-europe.com> >Date: Wed, 17 May 2023 16:28:23 +0000 >Subject: [PATCH] Bug 33606: Fix settings > >Signed-off-by: Pedro Amorim <pedro.amorim@ptfs-europe.com> >--- > .../js/vue/components/ERM/EHoldingsEBSCOPackagesList.vue | 2 +- > .../js/vue/components/ERM/EHoldingsEBSCOTitlesList.vue | 2 +- > koha-tmpl/intranet-tmpl/prog/js/vue/stores/erm.js | 8 +++++--- > 3 files changed, 7 insertions(+), 5 deletions(-) > >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 f4b84d3628..f42dfd2aa8 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 >@@ -168,7 +168,7 @@ export default { > this.show_table = true > this.local_count_packages = null > >- if (this.config.ERMProviders.includes("local")) { >+ if (this.config.settings.ERMProviders.includes("local")) { > const client = APIClient.erm > const query = this.filters > ? { >diff --git a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/EHoldingsEBSCOTitlesList.vue b/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/EHoldingsEBSCOTitlesList.vue >index f0ee952558..738cedbe6a 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/EHoldingsEBSCOTitlesList.vue >+++ b/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/EHoldingsEBSCOTitlesList.vue >@@ -178,7 +178,7 @@ export default { > "/api/v1/erm/eholdings/ebsco/titles" > ) > } >- if (this.config.ERMProviders.includes("local")) { >+ if (this.config.settings.ERMProviders.includes("local")) { > const client = APIClient.erm > > const q = this.filters >diff --git a/koha-tmpl/intranet-tmpl/prog/js/vue/stores/erm.js b/koha-tmpl/intranet-tmpl/prog/js/vue/stores/erm.js >index 0b759b8741..1ae8eccdd1 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/vue/stores/erm.js >+++ b/koha-tmpl/intranet-tmpl/prog/js/vue/stores/erm.js >@@ -2,9 +2,11 @@ import { defineStore } from "pinia"; > > export const useERMStore = defineStore("erm", { > state: () => ({ >- sysprefs: { >- ERMModule: false, >- ERMProviders: [], >+ config: { >+ settings: { >+ ERMModule: false, >+ ERMProviders: [], >+ } > }, > }), > }); >-- >2.30.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 33606
:
150204
|
151276
|
151277
|
151333
|
151334
|
151350
|
151351
|
151352
|
152614
|
152615
|
152616
|
152617
|
153001
|
153002
|
153003
|
153004