From bc3ddc56034bdccdb7a1fe308e53da1125846f72 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 19 Jun 2023 10:15:20 +0200 Subject: [PATCH] Bug 34056: Add -api-client suffit to authorised-values API client In koha-tmpl/intranet-tmpl/prog/js/vue/fetch all files have the -api-client suffix but authorised-values. For consistency we should add it. Test plan: Go to the ERM module and confirm that dropdown lists are correctly filled in with authorised values. You can also inspect the console and confirm that a GET query to /authorised_value_categories is done Sponsored-by: BULAC - http://www.bulac.fr/ Signed-off-by: Matt Blenkinsop Signed-off-by: Katrin Fischer Signed-off-by: Tomas Cohen Arazi (cherry picked from commit 813cfe1eec1f6090f715638a774fa755b5ff4788) Signed-off-by: Fridolin Somers --- koha-tmpl/intranet-tmpl/prog/js/vue/fetch/api-client.js | 2 +- .../{authorised-values.js => authorised-values-api-client.js} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename koha-tmpl/intranet-tmpl/prog/js/vue/fetch/{authorised-values.js => authorised-values-api-client.js} (100%) diff --git a/koha-tmpl/intranet-tmpl/prog/js/vue/fetch/api-client.js b/koha-tmpl/intranet-tmpl/prog/js/vue/fetch/api-client.js index 2c17ef443f..6ac1717fbf 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/vue/fetch/api-client.js +++ b/koha-tmpl/intranet-tmpl/prog/js/vue/fetch/api-client.js @@ -1,7 +1,7 @@ import ERMAPIClient from "./erm-api-client"; import PatronAPIClient from "./patron-api-client"; import AcquisitionAPIClient from "./acquisition-api-client"; -import AVAPIClient from "./authorised-values"; +import AVAPIClient from "./authorised-values-api-client"; import SysprefAPIClient from "./system-preferences-api-client"; export const APIClient = { diff --git a/koha-tmpl/intranet-tmpl/prog/js/vue/fetch/authorised-values.js b/koha-tmpl/intranet-tmpl/prog/js/vue/fetch/authorised-values-api-client.js similarity index 100% rename from koha-tmpl/intranet-tmpl/prog/js/vue/fetch/authorised-values.js rename to koha-tmpl/intranet-tmpl/prog/js/vue/fetch/authorised-values-api-client.js -- 2.39.5