Get back to date_upd
This commit is contained in:
parent
a09de51ac2
commit
d307e50f7f
@ -96,7 +96,7 @@ class AdminCustomerThreads extends AdminTab
|
||||
'id_product' => array('title' => $this->l('> 10€'), 'width' => 50, 'maxlength' => 0, 'align' =>'center'),
|
||||
'id_order' => array('title' => $this->l('Nb products'), 'width' => 50, 'maxlength' => 0, 'align' =>'center text-bold','search'=>false),
|
||||
'order' => array('title' => $this->l('Total cmd'), 'width' => 50, 'maxlength' => 0, 'align' =>'center text-bold'),
|
||||
'date_add' => array('title' => $this->l('Open at'), 'width' => 50, 'type'=>'datetimeLight')
|
||||
'date_upd' => array('title' => $this->l('Last message'), 'width' => 50, 'type'=>'datetimeLight')
|
||||
);
|
||||
|
||||
parent::__construct();
|
||||
@ -246,7 +246,7 @@ class AdminCustomerThreads extends AdminTab
|
||||
$this->viewcustomer_thread();
|
||||
else
|
||||
{
|
||||
$this->getList((int)$cookie->id_lang, !Tools::getValue($this->table.'Orderby') ? 'date_add' : NULL, !Tools::getValue($this->table.'Orderway') ? 'DESC' : NULL);
|
||||
$this->getList((int)$cookie->id_lang, !Tools::getValue($this->table.'Orderby') ? 'date_upd' : NULL, !Tools::getValue($this->table.'Orderway') ? 'DESC' : NULL);
|
||||
$this->displayList();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user