my $query = new CGI;
my $quicksearch = $query->param('quicksearch');
+my $branch = $query->param('branchcode');
my ($template, $loggedinuser, $cookie);
my $template_name;
}
my @categories=C4::Category->all;
$template->param(
- branchloop=>GetBranchesLoop(),
+ branchloop=>(defined $branch?GetBranchesLoop($branch):GetBranchesLoop()),
categoryloop=>\@categories,
);
$template->param(
"AddPatronLists_".C4::Context->preference("AddPatronLists")=> "1",
);
+my @letters = map { {letter => $_} } ( 'A' .. 'Z');
+$template->param( letters => \@letters );
output_html_with_http_headers $query, $cookie, $template->output;