($orderby ? $orderby : ""),
($limit ? $limit : "")
);
warn $query;
$sth = $dbh->prepare($query);
$sth->execute(@where_args);
my $patrons = $sth->fetchall_arrayref({});
[% END %]
],
'bAutoWidth': false,
[% IF patrons_with_acq_perm_only %]
'sPaginationType': 'full_numbers',
'bPaginate': false,
"iDisplayLength": [% Koha.Preference('PatronsPerPage') | html %],
[% ELSE %]
'aaSorting': [[[% aaSorting || 0 | html %], 'asc']],
'bFilter': false,
'bProcessing': true,
-