Koha/catalogue
Julian Maurice 95b1983a25 Bug 19502: Retrieve index.max_result_window from ES
This avoid hardcoding '10000' in two different places and allow users to
adjust this setting.

Also, this patch fixes a bug when the search return less than 10000
results

Test plan:
1. Do a search that returns 10000+ records.
2. Note the warning above the pagination buttons
3. Go to the last page, no error
4. Change the ES setting:
   curl -XPUT http://elasticsearch/koha_master_biblios/_settings -d \
     '{"index": {"max_result_window": 20000}}'
5. Do another search that returns more than 10000 but less than 20000
6. Note that the warning does not show up
7. Go to the last page, still no error

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Alex Arnaud <alex.arnaud@biblibre.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
2018-07-12 13:04:21 +00:00
..
detail.pl Bug 20697: Bind calling GetAnalyticsCount to pref EasyAnalyticalRecords 2018-06-29 20:03:31 +00:00
export.pl
getitem-ajax.pl
image.pl
imageviewer.pl
ISBDdetail.pl Bug 19289: Use the ACQ framework to display bibliographic details 2018-04-11 16:45:20 -03:00
issuehistory.pl Bug 20934: Fix display of old checkouts in the checkout history page 2018-06-22 12:47:48 +00:00
itemsearch.pl
labeledMARCdetail.pl
MARCdetail.pl
moredetail.pl Bug 20620: Remove warnings in moredetail.pl 2018-05-04 09:19:36 -03:00
search-history.pl
search.pl Bug 19502: Retrieve index.max_result_window from ES 2018-07-12 13:04:21 +00:00
showmarc.pl Bug 20083: Information disclosure when (mis)using the MARC Preview feature 2018-04-04 15:40:07 -03:00
updateitem.pl Bug 19974: Make MarkLostItemsAsReturned multiple 2018-04-20 11:57:31 -03:00