From 3a64ad32d3e42d971b0719fa7fdefe738f1ee0bb Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Fri, 22 Mar 2024 08:41:33 +0100 Subject: [PATCH] Bug 36392: (bug 34219 follow-up) Fix getAll for vendors - ERM In commit f1078daf8f496e1b4234acf766578c511ca8aad1 Bug 34219: Allow getAll to receive additional URL parameters We needed to call getAll instead of get to fetch all the vendors Test plan: Have more than 20 vendors and create/edit an agreement. Notice that the vendor list contains all the vendors Signed-off-by: David Nind Signed-off-by: Matthias Le Gac --- .../intranet-tmpl/prog/js/vue/fetch/acquisition-api-client.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/js/vue/fetch/acquisition-api-client.js b/koha-tmpl/intranet-tmpl/prog/js/vue/fetch/acquisition-api-client.js index d3f4e5ddd2..72f1a1d79c 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/vue/fetch/acquisition-api-client.js +++ b/koha-tmpl/intranet-tmpl/prog/js/vue/fetch/acquisition-api-client.js @@ -10,7 +10,7 @@ export class AcquisitionAPIClient extends HttpClient { get vendors() { return { getAll: (query, params) => - this.get({ + this.getAll({ endpoint: "vendors", query, params, -- 2.34.1