Make order status filter multi-select

This commit is contained in:
Abhishek Kumar
2023-09-25 17:47:43 +05:30
parent 13f759c8b1
commit 8064ca32f3
5 changed files with 42 additions and 6 deletions

View File

@@ -246,11 +246,10 @@ class AdminOrdersControllerCore extends AdminController
),
'osname' => array(
'title' => $this->l('Status'),
'type' => 'select',
'type' => 'select_multiple_or',
'color' => 'color',
'list' => $this->statuses_array,
'filter_key' => 'os!id_order_state',
'filter_type' => 'int',
'order_key' => 'osname',
'optional' => true,
'visible_default' => true