query => $query,
type => "opac",
authnotrequired => 1,
- flagsrequired => {borrow => 1},
});
my $startfrom=$query->param('startfrom');
-($startfrom) || ($startfrom=1);
+($startfrom) || ($startfrom=0);
my $resultsarray=\@results;
($resultsarray) || (@$resultsarray=());
}
}
-$template->param(numbers => $numbers);
+$template->param(numbers => $numbers,
+ LibraryName => C4::Context->preference("LibraryName"),
+);
output_html_with_http_headers $query, $cookie, $template->output;