Hope someone can help, as been trying for hours and hours tonight to crack this:
admin.php?dispatch=cart.cart_list
By default it is sorting by customer and i can see in
app/controllers/backend/cart.php
$sorting = db_sort($params, $sortings, 'customer', 'asc');
Now i know i can simply add or rather replace with:
$sorting = db_sort($params, $sortings, 'date', 'desc');
which does work, but i want to override this really within my addon, ive tried with a hook from what hook i found in that file, tried with cart.post.php and under $mode to do a redirect with fn_redirect and another method but then broke search... im sure im missing some real easy way of doing this? can someone help?