7 use C4::Auth; # get_template_and_user
8 use C4::Interface::CGI::Output;
12 my $title = $input->param('title');
13 my $author = $input->param('author');
14 my $name = $input->param('name');
16 my $dbh = C4::Context->dbh;
17 my ($template, $loggedinuser, $cookie)
18 = get_template_and_user({template_name => "acqui/histsearch.tmpl",
22 flagsrequired => {acquisition => 1},
25 my $order_loop= &histsearch($title,$author,$name);
26 $template->param(suggestions_loop => $order_loop,
31 output_html_with_http_headers $input, $cookie, $template->output;