C4::Utils::DataTables::Members - module for using DataTables with patrons
This module provides (one for the moment) routines used by the patrons search
my $dt_infos = C4::Utils::DataTables::Members->search($params);
$params is a hashref with some keys:
String to search in the borrowers sql table
Introduced to contain 1 letter but can contain more. The search will done on the borrowers.surname field
Search patrons with this categorycode
Search patrons with this branchcode
Can be 'start_with' or 'contain' (default value). Used for the searchmember parameter.
Can be 'standard' (default value), 'email', 'borrowernumber', 'phone', 'address' or 'dateofbirth', 'sort1', 'sort2'
Is the reference of C4::Utils::DataTables::dt_get_params($input);
This file is part of Koha.
Copyright 2013 BibLibre
Koha is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.
Koha is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with Koha; if not, see <http://www.gnu.org/licenses>.