fix for bug 2477: Improve Speed of the Shelf Browser
This patch updates the queries for the shelf browser in opac-detail.pl for a slight performance gain. It also adds a param for dateformat to C4::Auth to fix a warning. Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
This commit is contained in:
parent
a2c4c5353b
commit
c09f1b3d72
|
|
@ -395,6 +395,8 @@ if (C4::Context->preference("OPACShelfBrowser")) {
|
|||
}
|
||||
push @next_items, $this_item;
|
||||
}
|
||||
|
||||
|
||||
|
||||
# alas, these won't auto-vivify, see http://www.perlmonks.org/?node_id=508481
|
||||
my $shelfbrowser_next_itemnumber = $next_items[-1]->{itemnumber} if @next_items;
|
||||
|
|
|
|||
Loading…
Reference in New Issue