]> git.koha-community.org Git - koha.git/commit
Bug 32468: Use fetchLocalTitleCount to know if local titles exist
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 15 Dec 2022 07:17:16 +0000 (08:17 +0100)
committerTomas Cohen Arazi <tomascohen@theke.io>
Mon, 19 Dec 2022 14:46:23 +0000 (11:46 -0300)
commit6b19436f5fd47de229ce2271428424e59966fe25
tree6d243b59cd2c8080a81f091bb8b44f30a2931d99
parentccdc90aeeadad2c590460fadcdf8673dc0eabbed
Bug 32468: Use fetchLocalTitleCount to know if local titles exist

We don't need to fetch 20 titles to know if there is at least one. We
should call fetchLocalTitleCount.

Note that this should be implemented for all 'List' views.

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/components/ERM/EHoldingsEBSCOTitlesList.vue
koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/EHoldingsLocalTitlesList.vue
koha-tmpl/intranet-tmpl/prog/js/vue/fetch.js