Koha/opac
Jonathan Druart 31b732b830 Bug 11256: Opac: Set a number of items to display on a biblio detail page.
Currently, the number of items to display is hardcoded (50).
But the perl script loads all items before to check if the number of
items is oversized.

This patch adds a new pref OpacMaxItemsToDisplay (default to 50). If the
*total* number of items for a biblio is greater, no item is displayed
and a link allows to display all items.

Test plan:
1/ search a biblio with many items
2/ set the pref according the number of items you want to display
3/ verify the items are not displayed if the number of items is greater
the pref value
4/ enable the OpacSeparateHoldings pref and verify the items are
displayed in different tabs (if items have different locations).

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
2014-02-21 18:34:27 +00:00
..
errors
rss
sco Bug 11773: fix crash in sco-main.pl if no active currency is set 2014-02-18 21:03:30 +00:00
svc Bug 11704: Make */svc/report print the correct headers 2014-02-13 02:59:42 +00:00
ilsdi.pl
maintenance.pl
oai.pl Bug 10974: make OAI-PMH resumption tokens handle time correctly 2013-10-31 18:01:52 +00:00
opac-account.pl
opac-addbybiblionumber.pl
opac-alert-subscribe.pl
opac-authorities-home.pl
opac-authoritiesdetail.pl
opac-basket.pl
opac-browser.pl
opac-changelanguage.pl
opac-course-details.pl
opac-course-reserves.pl
opac-detail.pl Bug 11256: Opac: Set a number of items to display on a biblio detail page. 2014-02-21 18:34:27 +00:00
opac-downloadcart.pl
opac-downloadshelf.pl
opac-export.pl
opac-ics.pl
opac-image.pl
opac-imageviewer.pl
opac-ISBDdetail.pl
opac-main.pl
opac-MARCdetail.pl Bug 11242: fix opac-MARCdetail.pl display and warnings 2013-11-29 14:52:13 +00:00
opac-memberentry.pl Bug 11535: sanitize input from patron self-registration form 2014-01-14 16:28:14 +00:00
opac-messaging.pl
opac-modrequest-suspend.pl Bug 10774: Allow individual holds to be suspended and resumed from the OPAC 2014-01-10 15:22:49 +00:00
opac-modrequest.pl
opac-mymessages.pl
opac-overdrive-search.pl
opac-passwd.pl
opac-patron-image.pl
opac-privacy.pl
opac-ratings-ajax.pl
opac-ratings.pl
opac-readingrecord.pl
opac-registration-verify.pl
opac-renew.pl
opac-reserve.pl Bug 9823: Refactor return from GetReservesFromBiblionumber 2014-01-30 16:19:55 +00:00
opac-review.pl
opac-search-history.pl Bug 10952: (follow-up) comments fixes and unit tests 2014-01-10 16:21:18 +00:00
opac-search.pl Bug 10952: (follow-up) comments fixes and unit tests 2014-01-10 16:21:18 +00:00
opac-sendbasket.pl Bug 10605: fix encoding issue in basket email (OPAC) 2013-12-10 04:36:37 +00:00
opac-sendshelf.pl
opac-serial-issues.pl
opac-shelves.pl
opac-showmarc.pl Bug 11329: Check for MARC record existence in opac-showmarc 2014-01-17 15:26:35 +00:00
opac-showreviews.pl
opac-suggestions.pl Bug 11322: rscrub bad data before storing suggestions in the DB 2013-12-03 00:20:53 +00:00
opac-tags.pl
opac-tags_subject.pl
opac-topissues.pl Bug 11692: fix display of additional bib information in OPAC "most popular" pag 2014-02-10 15:17:50 +00:00
opac-user.pl Bug 2720 - Overdues which debar automatically should undebar automatically when returned 2013-10-31 01:53:22 +00:00
search.pl
tracklinks.pl
unapi