From a5afe6f2748924c49fc737e6d9408bd1a910e967 Mon Sep 17 00:00:00 2001 From: Pedro Amorim Date: Tue, 4 Nov 2025 12:20:21 -0100 Subject: [PATCH] Bug 41178: Fix accounts.getAll API client to be used for searching --- koha-tmpl/intranet-tmpl/prog/js/fetch/sip2-api-client.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/js/fetch/sip2-api-client.js b/koha-tmpl/intranet-tmpl/prog/js/fetch/sip2-api-client.js index 9c956c2667c..519077ac46e 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/fetch/sip2-api-client.js +++ b/koha-tmpl/intranet-tmpl/prog/js/fetch/sip2-api-client.js @@ -52,9 +52,11 @@ export class SIP2APIClient { "institution,custom_item_fields,item_fields,custom_patron_fields,patron_attributes,screen_msg_regexs,sort_bin_mappings,system_preference_overrides", }, }), - getAll: params => + getAll: (query, params) => this.httpClient.getAll({ endpoint: "accounts", + query, + params: params, }), delete: id => this.httpClient.delete({ -- 2.39.5