[Koha-bugs] [Bug 11256] Set a number of items to display on a biblio detail page

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Nov 15 12:12:50 CET 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11256

--- Comment #1 from Jonathan Druart <jonathan.druart at biblibre.com> ---
Created attachment 22958
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=22958&action=edit
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).

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list