[Koha-bugs] [Bug 6385] All items should optionally be displayed by default

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Mar 6 17:01:28 CET 2012


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

--- Comment #1 from Owen Leonard <oleonard at myacpl.org> ---
In opac-detail.pl:

# If there is a lot of items, and the user has not decided
# to view them all yet, we first warn him
# TODO: The limit of 50 could be a syspref
my $viewallitems = $query->param('viewallitems');
if ($dat->{'count'} >= 50 && !$viewallitems) {
    $template->param('lotsofitems' => 1);
}

Sounds like a solution might be to add a system preference
"OPACmaxItemsOnDetail" which takes a number. Enter "50" to see up to fifty
items, after which would appear a link to show all. Enter "0" to show all by
default.

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


More information about the Koha-bugs mailing list