Lines 139-144
my @failedreturns = $query->multi_param('failedreturn');
Link Here
|
139 |
our %return_failed = (); |
139 |
our %return_failed = (); |
140 |
for (@failedreturns) { $return_failed{$_} = 1; } |
140 |
for (@failedreturns) { $return_failed{$_} = 1; } |
141 |
|
141 |
|
|
|
142 |
my $searchtype = $query->param('searchtype') || q{contain}; |
143 |
|
142 |
my $findborrower = $query->param('findborrower') || q{}; |
144 |
my $findborrower = $query->param('findborrower') || q{}; |
143 |
$findborrower =~ s|,| |g; |
145 |
$findborrower =~ s|,| |g; |
144 |
|
146 |
|
Lines 239-246
if ($findborrower) {
Link Here
|
239 |
my $results = C4::Utils::DataTables::Members::search( |
241 |
my $results = C4::Utils::DataTables::Members::search( |
240 |
{ |
242 |
{ |
241 |
searchmember => $findborrower, |
243 |
searchmember => $findborrower, |
242 |
searchtype => 'contain', |
244 |
searchtype => $searchtype, |
243 |
dt_params => $dt_params, |
245 |
dt_params => $dt_params, |
244 |
} |
246 |
} |
245 |
); |
247 |
); |
246 |
my $borrowers = $results->{patrons}; |
248 |
my $borrowers = $results->{patrons}; |
247 |
- |
|
|