@@ -, +, @@ all patron searches --- acqui/add_user_search.pl | 1 + admin/add_user_search.pl | 1 + koha-tmpl/intranet-tmpl/prog/en/modules/common/patron_search.tt | 1 + members/guarantor_search.pl | 1 + patroncards/add_user_search.pl | 1 + serials/add_user_search.pl | 1 + 6 files changed, 6 insertions(+) --- a/acqui/add_user_search.pl +++ a/acqui/add_user_search.pl @@ -63,5 +63,6 @@ $template->param( alphabet => ( C4::Context->preference('alphabet') || join ' ', 'A' .. 'Z' ), categories => [ C4::Category->all ], branches => [ map { { branchcode => $_->{branchcode}, branchname => $_->{branchname} } } values %$branches ], + aaSorting => 1, ); output_html_with_http_headers( $input, $cookie, $template->output ); --- a/admin/add_user_search.pl +++ a/admin/add_user_search.pl @@ -64,5 +64,6 @@ $template->param( alphabet => ( C4::Context->preference('alphabet') || join ' ', 'A' .. 'Z' ), categories => [ C4::Category->all ], branches => [ map { { branchcode => $_->{branchcode}, branchname => $_->{branchname} } } values %$branches ], + aaSorting => 1, ); output_html_with_http_headers( $input, $cookie, $template->output ); --- a/koha-tmpl/intranet-tmpl/prog/en/modules/common/patron_search.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/common/patron_search.tt @@ -90,6 +90,7 @@ $(document).ready(function(){ 'sPaginationType': 'full_numbers', "iDisplayLength": [% Koha.Preference('PatronsPerPage') %], [% END %] + 'aaSorting': [[[% aaSorting || 0 %], 'asc']], 'bFilter': false, 'bProcessing': true, })); --- a/members/guarantor_search.pl +++ a/members/guarantor_search.pl @@ -55,5 +55,6 @@ $template->param( alphabet => ( C4::Context->preference('alphabet') || join ' ', 'A' .. 'Z' ), categories => [ C4::Category->all ], branches => [ map { { branchcode => $_->{branchcode}, branchname => $_->{branchname} } } values %$branches ], + aaSorting => 1, ); output_html_with_http_headers( $input, $cookie, $template->output ); --- a/patroncards/add_user_search.pl +++ a/patroncards/add_user_search.pl @@ -55,5 +55,6 @@ $template->param( alphabet => ( C4::Context->preference('alphabet') || join ' ', 'A' .. 'Z' ), categories => [ C4::Category->all ], branches => [ map { { branchcode => $_->{branchcode}, branchname => $_->{branchname} } } values %$branches ], + aaSorting => 1, ); output_html_with_http_headers( $input, $cookie, $template->output ); --- a/serials/add_user_search.pl +++ a/serials/add_user_search.pl @@ -55,5 +55,6 @@ $template->param( alphabet => ( C4::Context->preference('alphabet') || join ' ', 'A' .. 'Z' ), categories => [ C4::Category->all ], branches => [ map { { branchcode => $_->{branchcode}, branchname => $_->{branchname} } } values %$branches ], + aaSorting => 1, ); output_html_with_http_headers( $input, $cookie, $template->output ); --