Koha/koha-tmpl/opac-tmpl/bootstrap/js
Jonathan Druart 7ddb60e292 Bug 27353: Set X-Base-Total-Count header for REST API
We already set X-Total-Count to the total number of filtered rows,
but we don't have the total number of non-filtered rows.

Test plan:
This is easy to test on top of bug 27352 or bug 27251, apply them if not
pushed yet.
1. Create 40 items with public notes = "xxx" for biblionumber=4
then, using Postman (or whatever you prefer):
http://kohadev-intra.mydnsname.org:8081/api/v1/biblios/4/items?_page=1&_per_page=20&q=[{"me.public_notes"%3A{"like"%3A"%25x%25"}}]&_match=contains
Check the headers and confirm you see X-Total-Count=40 and
X-Base-Total-Count=44

2. go to /cgi-bin/koha/tools/quotes.pl
You see "Showing 1 to 20 of 28 entries"
Search "he"
Showing 1 to 20 of 22 entries (filtered from 28 total entries)

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2021-01-28 16:41:21 +01:00
..
amazonimages.js
authtoresults.js
bakertaylorimages.js
basket.js
browse.js Bug 27200: (follow-up) Browse search interface update 2020-12-26 17:58:43 +01:00
browserid_include.js
coce.js
datatables.js Bug 27353: Set X-Base-Total-Count header for REST API 2021-01-28 16:41:21 +01:00
Gettext.js
global.js
google-jackets.js
i18n.js
ill-availability.js
localcovers.js
openlibrary.js Bug 26148: OpenLibrary "Preview" link target is unclear to patrons 2020-11-05 15:24:20 +01:00
overdrive.js Bug 26753: Set focus for cursor to password field on Overdrive login popup on OPAC 2020-11-03 10:57:35 +01:00
ratings.js
recordedbooks.js
script.js Bug 26695: Add modal "shown" event to set cursor focus 2020-11-03 10:57:35 +01:00
tags.js
verovio.js