Koha/koha-tmpl/intranet-tmpl/prog/js/vue/fetch
Jonathan Druart f781fdb4a2
Bug 32807: Fetch count instead of all entries for agreements and licenses
To list agreements and licenses we are retrieving the whole list to
simply know if at least one exists (and display the table that will
fetch the X first elements to display).

We should call count instead.

Test plan:
List agreements and licenses.
If none exists, the table is not displayed but a "There are no...
defined" message instead.
If at least one exists the table must be there

Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2023-03-27 12:50:00 +02:00
..
acquisition-api-client.js Bug 32939: Use APIClient to fetch vendors 2023-02-27 11:13:11 -03:00
api-client.js Bug 32983: ERM - Retrieve AVs from an endpoint 2023-03-02 14:46:09 -03:00
authorised-values.js Bug 32983: Use REST API route to retrieve authorised values 2023-03-02 14:46:14 -03:00
erm-api-client.js Bug 32807: Fetch count instead of all entries for agreements and licenses 2023-03-27 12:50:00 +02:00
http-client.js Bug 33290: Fix incorrect variable in http-client.js 2023-03-27 11:29:56 +02:00
patron-api-client.js Bug 32939: Use APIClient to fetch patrons 2023-02-27 11:13:11 -03:00