Bug 15109 - Regression in patron search results ordering
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 13 Nov 2015 09:17:49 +0000 (09:17 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 17 Nov 2015 12:49:21 +0000 (09:49 -0300)
commitcc65a5fed2afd27b2a45af49d6fe08d54fef7de9
treefd668cf669500fdb3bf4af058a83f46bab9c02b2
parentbe1ed5218636eab75c9f030e0b688aba422d67e7
Bug 15109 - Regression in patron search results ordering

In Koha 3.16 or earlier, before the introduction of the ajax datatable
for patron searching, the search results were ordered by name. In
master, the results are currently ordered by cardnumber, which is not
very useful.

Test Plan:
1) Do a "browse by last name" or a patron search
2) Note the results are sorted by card number
3) Apply this patch
4) Reload the page, start a new search
5) Note the results are sorted by name

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>
koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt