Bug 37377: Fix orders search do_search param

This patch fixes the orders search in Acquisitions.

The form method is GET no need to prepend with cud-

Test plan:
1. Create an order that you can search for
2. Try order search, nothing happens
3. Apply patch restart all, refresh browser
4. Try order seach again and get results

Signed-off-by: Roman Dolny <roman.dolny@jezuici.pl>
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
Brendan Lawlor 2024-07-18 18:33:53 +00:00 committed by Martin Renvoize
parent 72d2b7e42b
commit f80cc53470
Signed by: martin.renvoize
GPG key ID: 422B469130441A0F

View file

@ -58,7 +58,7 @@ use Koha::AdditionalFields;
use Koha::DateUtils qw( dt_from_string );
my $input = CGI->new;
my $do_search = $input->param('cud-do_search') || 0;
my $do_search = $input->param('do_search') || 0;
my $dbh = C4::Context->dbh;
my ( $template, $loggedinuser, $cookie ) = get_template_and_user(