Bug 15109: Make name the default sort order for all patron searches
Find another place where there is a patron search (add user to a basket,
add users to a fund or edit owner of a fund, set a guarantor to a child,
etc.).
Do a search a confirm that the results are now sorted by name instead of
cardnumber.
Signed-off-by: Nicole Engard <nengard@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit defcfd050e)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
This commit is contained in:
parent
1524cb1119
commit
c430cf453f
|
|
@ -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 );
|
||||
|
|
|
|||
|
|
@ -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 );
|
||||
|
|
|
|||
|
|
@ -90,6 +90,7 @@ $(document).ready(function(){
|
|||
'sPaginationType': 'full_numbers',
|
||||
"iDisplayLength": [% Koha.Preference('PatronsPerPage') %],
|
||||
[% END %]
|
||||
'aaSorting': [[[% aaSorting || 0 %], 'asc']],
|
||||
'bFilter': false,
|
||||
'bProcessing': true,
|
||||
}));
|
||||
|
|
|
|||
|
|
@ -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 );
|
||||
|
|
|
|||
|
|
@ -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 );
|
||||
|
|
|
|||
|
|
@ -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 );
|
||||
|
|
|
|||
Loading…
Reference in New Issue