projects
/
koha_fer
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge remote-tracking branch 'origin/new/bug_8251'
[koha_fer]
/
opac
/
opac-topissues.pl
diff --git
a/opac/opac-topissues.pl
b/opac/opac-topissues.pl
index
6ecc6ad
..
dfdb6cd
100755
(executable)
--- a/
opac/opac-topissues.pl
+++ b/
opac/opac-topissues.pl
@@
-122,14
+122,14
@@
if($timeLimit eq 999){ $timeLimitFinite = 0 };
$template->param(do_it => 1,
limit => $limit,
$template->param(do_it => 1,
limit => $limit,
- branch => $branches->{$branch}->{branchname}
|| 'all locations'
,
- itemtype => $itemtypes->{$itemtype}->{description}
|| 'item types'
,
+ branch => $branches->{$branch}->{branchname},
+ itemtype => $itemtypes->{$itemtype}->{description},
timeLimit => $timeLimit,
timeLimitFinite => $timeLimit,
results_loop => \@results,
);
timeLimit => $timeLimit,
timeLimitFinite => $timeLimit,
results_loop => \@results,
);
-$template->param( branchloop => GetBranchesLoop(C4::Context->userenv
->{'branch'}
));
+$template->param( branchloop => GetBranchesLoop(C4::Context->userenv
?C4::Context->userenv->{'branch'}:''
));
# the index parameter is different for item-level itemtypes
my $itype_or_itemtype = (C4::Context->preference("item-level_itypes"))?'itype':'itemtype';
# the index parameter is different for item-level itemtypes
my $itype_or_itemtype = (C4::Context->preference("item-level_itypes"))?'itype':'itemtype';