diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-topissues.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-topissues.tt index dee3089e06..1d322d4b32 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-topissues.tt +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-topissues.tt @@ -52,7 +52,7 @@ function Dopop(link) { The [% limit %] most checked-out [% IF ( itemtype ) %] [% itemtype %] - [% ELSE %] titles[% END %] + [% END %] [% IF ( branch ) %] at [% branch %] @@ -120,7 +120,7 @@ function Dopop(link) { [% END %]
  • - [% IF ( timeLimit == 3 ) %][% ELSE %][% END %] [% IF ( timeLimit == 6 ) %][% ELSE %][% END %] [% IF ( timeLimit == 12 ) %][% ELSE %][% END %] diff --git a/opac/opac-topissues.pl b/opac/opac-topissues.pl index 7fb902e350..dfdb6cd86c 100755 --- a/opac/opac-topissues.pl +++ b/opac/opac-topissues.pl @@ -122,8 +122,8 @@ if($timeLimit eq 999){ $timeLimitFinite = 0 }; $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,