Bug 13879

Summary: DataTables server-side processing for patrons - sort is broken
Product: Koha Reporter: Jonathan Druart <jonathan.druart>
Component: PatronsAssignee: Jonathan Druart <jonathan.druart>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: gmcharlt, kyle.m.hall, tomascohen, veron
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Bug Depends on: 13021    
Bug Blocks: 13891    
Attachments: Bug 13879: Fix sort on patron search (guarantor and linked to orders)
[Signed-off] Bug 13879: Fix sort on patron search (guarantor and linked to orders)
[PASSED QA] Bug 13879: Fix sort on patron search (guarantor and linked to orders)

Description Jonathan Druart 2015-03-20 13:11:58 UTC
Bug 13021 introduced a regression for guarantor search and patron search for orders, the sort is broken.
Comment 1 Jonathan Druart 2015-03-20 13:17:27 UTC Comment hidden (obsolete)
Comment 2 Marc Véron 2015-03-20 16:45:24 UTC Comment hidden (obsolete)
Comment 3 Kyle M Hall (khall) 2015-03-20 18:23:27 UTC
Created attachment 37072 [details] [review]
[PASSED QA] Bug 13879: Fix sort on patron search (guarantor and linked to orders)

This patch fixes a regression introduced by bug 13021.

Test plan:
1/ Go on a child detail page > edit
2/ Click on "Set a patron" as a guarantor
3/ Launch a search a confirm that you are able to sort on card, name and
date of birth.
Note that the Address column is not sortable (it's a limitation, could
be fixed later).
4/ Go on the acquisition module, create an order.
5/ Click on the "Add user" button.
6/ Launch a search a confirm that you are able to sort on card, name and
category

Without patch, I could not sort on names. With patch, sorting works as dexcribed in Test plan

Signed-off-by: Marc Veron <veron@veron.ch>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Comment 4 Tomás Cohen Arazi (tcohen) 2015-04-08 14:01:49 UTC
Patch pushed to master.

Thanks Jonathan!
Comment 5 Tomás Cohen Arazi (tcohen) 2015-04-13 13:44:25 UTC
Forgot to mark as pushed.