Lines 24-29
use C4::Auth qw( get_template_and_user );
Link Here
|
24 |
use C4::Output qw( output_with_http_headers ); |
24 |
use C4::Output qw( output_with_http_headers ); |
25 |
use C4::Utils::DataTables qw( dt_get_params ); |
25 |
use C4::Utils::DataTables qw( dt_get_params ); |
26 |
use C4::Utils::DataTables::Members qw( search ); |
26 |
use C4::Utils::DataTables::Members qw( search ); |
|
|
27 |
use Koha::DateUtils qw( output_pref dt_from_string ); |
27 |
|
28 |
|
28 |
my $input = new CGI; |
29 |
my $input = new CGI; |
29 |
|
30 |
|
Lines 44-49
my $branchcode = $input->param('branchcode');
Link Here
|
44 |
my $searchtype = $input->param('searchtype'); |
45 |
my $searchtype = $input->param('searchtype'); |
45 |
my $searchfieldstype = $input->param('searchfieldstype'); |
46 |
my $searchfieldstype = $input->param('searchfieldstype'); |
46 |
|
47 |
|
|
|
48 |
if ( $searchfieldstype eq "dateofbirth" ) { |
49 |
$searchmember = output_pref({dt => dt_from_string($searchmember), dateformat => 'iso', dateonly => 1}); |
50 |
} |
51 |
|
47 |
# variable information for DataTables (id) |
52 |
# variable information for DataTables (id) |
48 |
my $sEcho = $input->param('sEcho'); |
53 |
my $sEcho = $input->param('sEcho'); |
49 |
|
54 |
|
50 |
- |
|
|