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

(-)a/koha-tmpl/intranet-tmpl/prog/js/vue/fetch/item-api-client.js (-8 / +4 lines)
Lines 10-22 export class ItemAPIClient extends HttpClient { Link Here
10
    get items() {
10
    get items() {
11
        return {
11
        return {
12
            getAll: (query, params) =>
12
            getAll: (query, params) =>
13
                this.get({
13
                this.getAll({
14
                    endpoint: "items?" +
14
                    endpoint: "items",
15
                        new URLSearchParams({
15
                    query,
16
                            _per_page: -1,
16
                    params,
17
                            ...(query && { q: JSON.stringify(query) }),
18
                        }),
19
                    ...(params)
20
                }),
17
                }),
21
        };
18
        };
22
    }
19
    }
23
- 

Return to bug 34055