Koha/koha-tmpl/intranet-tmpl/prog/js
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
..
modals Bug 31028: Add display to details page 2023-03-06 11:23:17 -03:00
pages Bug 31611: Clearly highlight items that cannot be modified/deleted in the Batch item tools 2023-03-10 11:47:19 -03:00
vue Bug 32807: Fetch count instead of all entries for agreements and licenses 2023-03-27 12:50:00 +02:00
acq.js Bug 28082: Add acquisitions toolbar to vendors on vendor search page 2022-05-10 15:17:17 -10:00
acquisitions-menu.js Bug 26019: Koha should set SameSite attribute on cookies 2022-04-13 15:55:38 +02:00
additem.js Bug 23202: Fix screen freeze when ordereing several items 2022-08-17 09:23:10 -03:00
addorderiso2709.js Bug 32293: Fix terminology in warning when creating orders from staged file 2023-02-27 11:39:04 -03:00
admin-menu.js
ajax.js
audio_alerts.js Bug 31413: Set focus for cursor to Selector when adding a new audio alert 2023-02-24 17:52:27 -03:00
auth-finder-search.js
authorities-detail-modal.js Bug 31660: MARC preview for authority search results has hidden contents 2022-10-03 15:10:44 -03:00
authtype.js Bug 22490: Some strings in JavaScript files are untranslatable 2023-02-24 16:41:31 -03:00
automatic_item_modification_by_age.js Bug 22827: Add age dependency on other fields than dateaccessioned 2022-04-08 15:49:16 +02:00
background-job-progressbar.js Bug 22490: Some strings in JavaScript files are untranslatable 2023-02-24 16:41:31 -03:00
basket.js Bug 26019: (follow-up) Set SameSite attribute on Cart cookies 2022-04-13 15:55:38 +02:00
biblio_framework.js
browser.js
calendar.js Bug 22490: Some strings in JavaScript files are untranslatable 2023-02-24 16:41:31 -03:00
cart.js Bug 28782: Use query param list instead of splitting elements using '/' 2022-03-03 16:11:50 -10:00
cashup_modal.js Bug 27779: (QA follow-up) Better translatability 2022-08-09 07:36:58 -03:00
catalog.js Bug 25251: (follow-up) Remove alertNoItems 2022-03-24 14:22:10 -10:00
cataloging.js Bug 30376: Fix missing mandatory date acquired error on item save 2022-04-13 15:55:39 +02:00
cataloging_additem.js Bug 32933: Use val() instead of attr("value") when getting field values with jQuery 2023-02-21 09:11:17 -03:00
categories.js Bug 30864: Add validation to password_expiry_days 2022-06-06 13:49:00 -03:00
charts.js
checkout_renewals_modal.js Bug 30642: (follow-up) Change sql and adapt for translations 2023-02-10 11:07:58 -03:00
checkouts.js Bug 31209: Add a span with a class for items.enumchron in the checkouts list 2023-02-20 09:44:17 -03:00
datatables.js Bug 31028: (follow-up) Remove special:undefined 2023-03-07 14:54:38 -03:00
desk_selection.js
elasticsearch-mappings.js Bug 30584: Fix ES mapping creation 2022-04-25 10:00:22 -10:00
file-upload.js
funds_sorts.js
holds.js Bug 24860: (QA follow-up) Terminology and translation fixes 2022-11-04 19:39:58 -03:00
ill-availability-partner.js
ill-availability.js Bug 29648: ILL - no change 2022-04-27 11:20:44 -10:00
ill-list-table.js Bug 29648: ILL - no change 2022-04-27 11:20:44 -10:00
item_search_fields.js Bug 22490: Some strings in JavaScript files are untranslatable 2023-02-24 16:41:31 -03:00
job_progess.js Bug 31891: (bug 27421 follow-up) Remove one additional click 2022-11-22 09:19:59 -03:00
letter.js Bug 22490: Some strings in JavaScript files are untranslatable 2023-02-24 16:41:31 -03:00
localcovers.js
mana.js
marc_modification_templates.js Bug 29648: Fix occurrences of GetColumns 2022-04-27 11:20:45 -10:00
marc_subfields_structure.js Bug 30489: Convert MARC and authority subfield edit tabs to Bootstrap 2022-05-02 11:22:57 -10:00
members-menu.js Bug 30952: Staff interface redesign (header) 2022-10-12 15:58:16 -03:00
members.js Bug 30718: Use flatpickr's altInput 2022-08-19 08:26:31 -03:00
merge-record.js
messaging-preference-form.js Bug 31166: Digest option is not selectable for phone when PhoneNotification is enabled 2022-12-13 14:59:51 -03:00
offlinecirc.js
onboarding.js
patron-autocomplete.js Bug 22490: Some strings in JavaScript files are untranslatable 2023-02-24 16:41:31 -03:00
patron-webcam.js Bug 6815: Display an error in if HTTPS not used and webcam unavailable 2022-03-24 14:22:10 -10:00
recalls.js Bug 19532: (follow-up) Fixing tests and QA tools 2022-03-14 22:45:51 -10:00
register_selection.js
resolve_claim_modal.js Bug 22490: Some strings in JavaScript files are untranslatable 2023-02-24 16:41:31 -03:00
restrictiontypes.js Bug 23681: Add Management UI 2022-08-25 08:41:00 -03:00
rotating-collections.js Bug 22490: Some strings in JavaScript files are untranslatable 2023-02-24 16:41:31 -03:00
select2.js Bug 31646: Add Select2 focus to text search field 2022-10-11 10:16:35 -03:00
serials-toolbar.js
showpredictionpattern.js
sms_providers.js Bug 32618: Add 'page-section' to various administration pages 2023-01-31 09:36:42 -03:00
staff-global.js Bug 32683: Convert header search tabs to Bootstrap 2023-03-10 12:04:08 -03:00
subscription-add.js Bug 31935: (follow-up) Make form look better 2023-01-05 09:24:29 -03:00
table_filters.js
tools-menu.js Bug 15326: Using AdditionalContents for custom pages on OPAC 2022-08-16 15:42:24 -03:00
upload-images.js Bug 30223: Move book cover image upload JS to a separate file 2022-04-19 21:25:51 -10:00
viewlog.js Bug 30578: Remove circ/ysearch.pl in favor of the /patrons REST API route 2022-07-18 11:01:34 -03:00
xmlControlfield.js Bug 22490: Some strings in JavaScript files are untranslatable 2023-02-24 16:41:31 -03:00
z3950_search.js