Bug 34056: Add -api-client suffit to authorised-values API client
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 19 Jun 2023 08:15:20 +0000 (10:15 +0200)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 17 Aug 2023 19:27:06 +0000 (09:27 -1000)
commitbc3ddc56034bdccdb7a1fe308e53da1125846f72
tree974c547574e22473be795cc5db088d535d913b02
parente4e145eb4ad61db989395e45dbe082c0df7feff4
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 <matt.blenkinsop@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 813cfe1eec1f6090f715638a774fa755b5ff4788)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/js/vue/fetch/api-client.js
koha-tmpl/intranet-tmpl/prog/js/vue/fetch/authorised-values-api-client.js [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/js/vue/fetch/authorised-values.js [deleted file]