Koha/opac
Nick Clemens cc131475ed Bug 19502: Limit pagination to first 10000 results when using ES
This patch is to avoid hitting an error page. We should eventually make the
max number returned configurable for ES.

To test:
1 - Have Koha running ES with 10,000+ records
2 - Search for '*'
3 - Click 'Last' to view last page of results
4 - 'Cannot perform search' error
5 - Apply patch
6 - Search again
7 - View 'Last' page
8 - No error, you go to the last of 10000
9 - Note the warning above the pagination buttons

Signed-off-by: Séverine QUEUNE <severine.queune@bulac.fr>

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:20 +00:00
..
clubs
errors
external/overdrive
rss
sci Bug 15492: (QA followup) Make page refresh work correctly 2018-03-26 17:31:19 -03:00
sco Bug 19935: Replace GetPendingIssues - sco-main 2018-04-03 11:43:38 -03:00
svc Bug 20495: (follow-up) Correct search for report by name 2018-07-02 12:06:54 +00:00
ilsdi.pl
maintenance.pl
oai.pl
opac-account-pay-paypal-return.pl
opac-account-pay-return.pl
opac-account-pay.pl
opac-account.pl Bug 12001: Move GetMemberAccountRecords to the Koha namespace 2018-02-23 10:57:30 -03:00
opac-addbybiblionumber.pl
opac-alert-subscribe.pl Bug 19855: Move getalert, addalert and delalert to Koha::Subscription 2018-04-23 14:22:15 -03:00
opac-article-request-cancel.pl
opac-authorities-home.pl
opac-authoritiesdetail.pl
opac-basket.pl Bug 19708: Improve code for printing the cart in OPAC 2018-03-26 17:31:16 -03:00
opac-blocked.pl
opac-browser.pl
opac-changelanguage.pl
opac-course-details.pl
opac-course-reserves.pl
opac-detail.pl Bug 20737: Use https for baker and taylor cover images 2018-05-11 11:36:23 -03:00
opac-discharge.pl
opac-downloadcart.pl
opac-downloadshelf.pl
opac-export.pl Bug 20097: Use same regex in marc2dcxml and opac-export 2018-03-19 12:23:19 -03:00
opac-ics.pl Bug 19935: Replace GetPendingIssues - opac-ics.pl 2018-04-03 11:43:38 -03:00
opac-idref.pl
opac-illrequests.pl Bug 20284: Fix minor compilation errors 2018-05-07 11:55:01 -03:00
opac-image.pl
opac-imageviewer.pl
opac-ISBDdetail.pl
opac-issue-note.pl
opac-main.pl Bug 19892: Replace numbersphr variable with Koha.Preference('OPACNumbersPreferPhrase') in OPAC 2018-04-02 18:08:07 -03:00
opac-MARCdetail.pl
opac-memberentry.pl
opac-messaging.pl
opac-modrequest-suspend.pl
opac-modrequest.pl
opac-mymessages.pl
opac-news-rss.pl
opac-overdrive-search.pl
opac-passwd.pl
opac-password-recovery.pl
opac-patron-image.pl
opac-privacy.pl Bug 20363: (bug 16966 follow-up) better messages handling 2018-04-23 14:22:16 -03:00
opac-ratings-ajax.pl
opac-ratings.pl
opac-readingrecord.pl
opac-registration-verify.pl Bug 19579: Do not confirm the registration if email already used - PatronSelfRegistrationEmailMustBeUnique 2018-05-11 10:52:46 -03:00
opac-renew.pl
opac-request-article.pl
opac-reserve.pl Bug 20724: (QA follow-up) Remove two obsolete comment lines 2018-05-16 10:53:13 -03:00
opac-restrictedpage.pl
opac-retrieve-file.pl
opac-review.pl
opac-routing-lists.pl Bug 20666: Correct permissions on opac-routing-lists.pl 2018-05-03 13:26:48 -03:00
opac-search-history.pl
opac-search.pl Bug 19502: Limit pagination to first 10000 results when using ES 2018-07-12 13:04:20 +00:00
opac-sendbasket.pl Bug 18975: Retrieve up-to-date CGISESSID when just logged in 2018-02-18 14:47:42 -03:00
opac-sendshelf.pl
opac-serial-issues.pl Bug 19855: Move getalert, addalert and delalert to Koha::Subscription 2018-04-23 14:22:15 -03:00
opac-shareshelf.pl Bug 20687: (follow-up) Look for invitekey in show_accept and fix error codes 2018-05-07 11:55:13 -03:00
opac-shelves.pl
opac-showmarc.pl Bug 20083: (follow-up) use same logic in opac-showmarc 2018-04-04 15:45:34 -03:00
opac-showreviews.pl
opac-suggestions.pl Bug 20763: Remove unecessary Koha::Patron fetch 2018-06-04 12:58:53 +00:00
opac-tags.pl
opac-tags_subject.pl
opac-topissues.pl
opac-user.pl Bug 17153: Redirect to search when logging in from search 2018-06-29 20:49:51 +00:00
tracklinks.pl Bug 20218: Fix matching of uri in tracklinks 2018-02-27 15:58:32 -03:00
unapi