]> 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)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 19 Dec 2022 17:06:02 +0000 (17:06 +0000)
commitbc85ab60b0210e6d0929cbe01329f36fc3a990bc
tree1f7c43c638589c7cb08b5a93fb3d01c1f92e1af5
parent0a309595ab364f78de6520546369e90a43dc6f3a
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>
(cherry picked from commit 6b19436f5fd47de229ce2271428424e59966fe25)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
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