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 (-9 / +4 lines)
Lines 10-23 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:
14
                    endpoint: "items",
15
                        "items?" +
15
                    query,
16
                        new URLSearchParams({
16
                    params,
17
                            _per_page: -1,
18
                            ...(query && { q: JSON.stringify(query) }),
19
                        }),
20
                    ...params,
21
                }),
17
                }),
22
        };
18
        };
23
    }
19
    }
24
- 

Return to bug 34055