Closed (fixed)
Project:
Ubercart
Version:
6.x-2.11
Component:
Orders
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 May 2013 at 22:05 UTC
Updated:
11 Jun 2013 at 00:50 UTC
Jump to comment: Most recent file
Comments
Comment #1
tr commentedYeah, it looks like the sorting was never implemented on that page. The search page shares some code from admin/store/orders, and the sort headers are there because they're implemented and working on admin/store/orders. But admin/store/orders/search doesn't use tablesort_sql() so the results aren't sortable.
If you want to submit a patch for this, the function uc_order_admin() generates the results table, and uc_order_usearch() constructs the search query that's passed to uc_order_admin(). That query needs to use tablesort_sql(). Both functions are in uc_order.admin.inc.
Comment #2
tr commentedAh, it was easy enough so I just did it. Here, try this patch and let me know if it works for you.
Comment #4
tr commentedRandom testbot failure ...
Comment #5
tr commented#2: 2001120.patch queued for re-testing.
Comment #6
mattdev commentedThanks TR! This worked for me :)
Comment #7
tr commentedOK. Committed. Thanks for the bug report.