Jump to content

Change default sorting for the Orders Tab?


Recommended Posts

I've tried editing the AdminOrders.php file and the following line:

$this->getList((int)($cookie->id_lang), !Tools::getValue($this->table.'Orderby') ? 'date_add' : NULL, !Tools::getValue($this->table.'Orderway') ? 'DESC' : NULL);

 

But changing 'date_add' to 'order_state' doesn't work.

 

How do I change the default list of customer orders to be ASC by Status?

Link to comment
Share on other sites

  • 2 months later...
×
×
  • Create New...