View | Details | Raw Unified | Return to bug 33606
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/EHoldingsEBSCOPackagesList.vue (-1 / +1 lines)
Lines 168-174 export default { Link Here
168
            this.show_table = true
168
            this.show_table = true
169
            this.local_count_packages = null
169
            this.local_count_packages = null
170
170
171
            if (this.config.ERMProviders.includes("local")) {
171
            if (this.config.settings.ERMProviders.includes("local")) {
172
                const client = APIClient.erm
172
                const client = APIClient.erm
173
                const query = this.filters
173
                const query = this.filters
174
                    ? {
174
                    ? {
(-)a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/EHoldingsEBSCOTitlesList.vue (-1 / +1 lines)
Lines 179-185 export default { Link Here
179
                        "/api/v1/erm/eholdings/ebsco/titles"
179
                        "/api/v1/erm/eholdings/ebsco/titles"
180
                    )
180
                    )
181
                }
181
                }
182
                if (this.config.ERMProviders.includes("local")) {
182
                if (this.config.settings.ERMProviders.includes("local")) {
183
                    const client = APIClient.erm
183
                    const client = APIClient.erm
184
184
185
                    const q = this.filters
185
                    const q = this.filters
(-)a/koha-tmpl/intranet-tmpl/prog/js/vue/stores/erm.js (-4 / +5 lines)
Lines 2-10 import { defineStore } from "pinia"; Link Here
2
2
3
export const useERMStore = defineStore("erm", {
3
export const useERMStore = defineStore("erm", {
4
    state: () => ({
4
    state: () => ({
5
        sysprefs: {
5
        config: {
6
            ERMModule: false,
6
            settings: {
7
            ERMProviders: [],
7
                ERMModule: false,
8
                ERMProviders: [],
9
            },
8
        },
10
        },
9
    }),
11
    }),
10
});
12
});
11
- 

Return to bug 33606