This is in regards to the "Store Administration->Orders->Search Orders" page. When viewing the searched order results, the table headers allow for interactivity. When clicked they show the asc or desc arrow yet the results stay static.
Could anyone point me in the right direction on how to fix this?
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 2001120.patch | 1.25 KB | tr |
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.