Bugzilla – Attachment 152616 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.71 KB, created by
Marcel de Rooy
on 2023-06-23 07:26:26 UTC
(
hide
)
Description:
Bug 33606: Fix settings
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2023-06-23 07:26:26 UTC
Size:
2.71 KB
patch
obsolete
>From d269e01cebb61a1a8a7114525962df2082f2a140 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 >Content-Type: text/plain; charset=utf-8 > >Signed-off-by: Pedro Amorim <pedro.amorim@ptfs-europe.com> > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > .../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 2a5822371d..9cd04c4778 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 a3405d50fe..a0288652b9 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 >@@ -179,7 +179,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