]> git.koha-community.org Git - koha.git/commit
Bug 33606: Add a erm/config route to retrieve the ERM config needed for the Vue app
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 25 Apr 2023 13:56:51 +0000 (15:56 +0200)
committerMatt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Mon, 13 Nov 2023 15:10:55 +0000 (15:10 +0000)
commit17796faffc8a9298bde713d5589456b2c2b2c90f
tree49275458ac3afde31a3a9d2f735cf94287691f4a
parent9f77254010dc586a4616ba231c13cc97e2b26e49
Bug 33606: Add a erm/config route to retrieve the ERM config needed for the Vue app

This could be extended later in bug 32968 to pass the permission of the
logged in user.

Signed-off-by: Pedro Amorim <pedro.amorim@ptfs-europe.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
(cherry picked from commit cda3c377a20c401ef9a755f24eb839d515a8af72)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit 5078f9f4dff2788318bee544e00724fa2fbf1dad)
Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
14 files changed:
Koha/REST/V1/ERM.pm
api/v1/swagger/definitions/erm_config.yaml [new file with mode: 0644]
api/v1/swagger/paths/erm_config.yaml [new file with mode: 0644]
api/v1/swagger/swagger.yaml
koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/EHoldingsEBSCOPackagesList.vue
koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/EHoldingsEBSCOTitlesList.vue
koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/Main.vue
koha-tmpl/intranet-tmpl/prog/js/vue/fetch/erm-api-client.js
t/cypress/integration/ERM/Agreements_spec.ts
t/cypress/integration/ERM/Dialog_spec.ts
t/cypress/integration/ERM/Licenses_spec.ts
t/cypress/integration/ERM/Packages_spec.ts
t/cypress/integration/ERM/Searchbar_spec.ts
t/cypress/integration/ERM/Titles_spec.ts