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

(-)a/koha-tmpl/intranet-tmpl/prog/js/vue/fetch/erm-api-client.js (-2 / +2 lines)
Lines 63-74 export class ERMAPIClient extends HttpClient { Link Here
63
                            "user_roles,user_roles.patron,vendor,documents",
63
                            "user_roles,user_roles.patron,vendor,documents",
64
                    },
64
                    },
65
                }),
65
                }),
66
            getAll: query =>
66
            getAll: (query, params) =>
67
                this.get({
67
                this.get({
68
                    endpoint:
68
                    endpoint:
69
                        "licenses?" +
69
                        "licenses?" +
70
                        new URLSearchParams({
70
                        new URLSearchParams({
71
                            _per_page: -1,
71
                            _per_page: -1,
72
                            ...(params && params),
72
                            ...(query && { q: JSON.stringify(query) }),
73
                            ...(query && { q: JSON.stringify(query) }),
73
                        }),
74
                        }),
74
                    headers: {
75
                    headers: {
75
- 

Return to bug 32474