# You should have received a copy of the GNU General Public License
# along with Koha; if not, see <http://www.gnu.org/licenses>.
-use strict;
-use warnings;
+use Modern::Perl;
use CGI qw ( -utf8 );
use C4::Auth;
use C4::Search;
use C4::Output;
use C4::Koha;
-use C4::Branch;
use C4::Circulation;
use Date::Manip;
exit;
}
-my $branches = GetBranches();
-my $itemtypes = GetItemTypes();
-
my ($template, $borrowernumber, $cookie) = get_template_and_user(
{
template_name => 'opac-topissues.tt',
$template->param(
limit => $limit,
- branch => $branches->{$branch}->{branchname},
+ branch => $branch,
timeLimit => $timeLimit,
results => \@results,
);