]> git.koha-community.org Git - koha.git/commit
Bug 32468: ERM - Populate dropdown list with all entries
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 15 Dec 2022 06:58:36 +0000 (07:58 +0100)
committerTomas Cohen Arazi <tomascohen@theke.io>
Mon, 19 Dec 2022 14:46:18 +0000 (11:46 -0300)
commitccdc90aeeadad2c590460fadcdf8673dc0eabbed
treef92e6e4d3dfdf52c07b570a2c14ae28a39aa5f73
parentc06c8613cd1f066e8857bd798551e36985062856
Bug 32468: ERM - Populate dropdown list with all entries

The REST API routes is configured to return the 20 first results if
_per_page is not provided. Here we want to display all the
vendors/agreements/licenses/packages in the dropdown lists.

Ideally we should implement an infinite scroll to not load all the data
at once (https://vue-select.org/guide/infinite-scroll.html)

Test plan:
Create more than 20 vendors and confirm that, with this patch, all the
vendors are display in the dropdown list displayed on the add agreement
form
Same for agreements, licenses and local packages

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/js/vue/fetch.js