X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=blobdiff_plain;ds=sidebyside;f=acqui%2Fhistsearch.pl;h=ff68599f45a877e118e5d2a6de3631ee92dec326;hb=f029e9aba7d6c03b3c8e19697af31071b595dcc9;hp=82ba04f6182c86b485644193035a200a66211bdb;hpb=fae07abcc69e430c84f7b4f3241c1fe21e7bd5ab;p=koha_gimpoz diff --git a/acqui/histsearch.pl b/acqui/histsearch.pl index 82ba04f618..ff68599f45 100755 --- a/acqui/histsearch.pl +++ b/acqui/histsearch.pl @@ -61,6 +61,7 @@ use C4::Debug; my $input = new CGI; my $title = $input->param( 'title'); my $author = $input->param('author'); +my $isbn = $input->param('isbn'); my $name = $input->param( 'name' ); my $basket = $input->param( 'basket' ); my $booksellerinvoicenumber = $input->param( 'booksellerinvoicenumber' ); @@ -91,12 +92,13 @@ if ( $d = $input->param('iso') ) { my ( $order_loop, $total_qty, $total_price, $total_qtyreceived ); # If we're supplied any value then we do a search. Otherwise we don't. -my $do_search = $title || $author || $name || $basket || $booksellerinvoicenumber || +my $do_search = $title || $author || $isbn || $name || $basket || $booksellerinvoicenumber || $from_placed_on || $to_placed_on; if ($do_search) { ( $order_loop, $total_qty, $total_price, $total_qtyreceived ) = GetHistory( title => $title, author => $author, + isbn => $isbn, name => $name, from_placed_on => $from_iso, to_placed_on => $to_iso, @@ -116,6 +118,7 @@ $template->param( numresults => $order_loop ? scalar(@$order_loop) : undef, title => $title, author => $author, + isbn => $isbn, name => $name, basket => $basket, booksellerinvoicenumber => $booksellerinvoicenumber,