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 178-184 export default { Link Here
178
                        "/api/v1/erm/eholdings/ebsco/titles"
178
                        "/api/v1/erm/eholdings/ebsco/titles"
179
                    )
179
                    )
180
                }
180
                }
181
                if (this.config.ERMProviders.includes("local")) {
181
                if (this.config.settings.ERMProviders.includes("local")) {
182
                    const client = APIClient.erm
182
                    const client = APIClient.erm
183
183
184
                    const q = this.filters
184
                    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