Koha/koha-tmpl/intranet-tmpl
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
..
js Bug 32307: Fix gallery when Coce is enabled 2023-02-20 09:54:16 -03:00
lib Bug 32613: Add database tables to autocomplete 2023-03-06 14:45:29 -03:00
prog Bug 32807: Fetch count instead of all entries for agreements and licenses 2023-03-27 12:50:00 +02:00