]> 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)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 19 Dec 2022 17:05:09 +0000 (17:05 +0000)
commit0a309595ab364f78de6520546369e90a43dc6f3a
tree3723b42fc64793ff4f96886b2f8412922195acb7
parent77784d9ef021735a18d7aee28323b66fcfe433f5
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>
(cherry picked from commit ccdc90aeeadad2c590460fadcdf8673dc0eabbed)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
koha-tmpl/intranet-tmpl/prog/js/vue/fetch.js