File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
app/code/Magento/Customer/Block/Adminhtml/Edit/Tab Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,8 @@ protected function _construct()
6363 {
6464 parent ::_construct ();
6565 $ this ->setId ('customer_orders_grid ' );
66- $ this ->setDefaultSort ('created_at ' , 'desc ' );
66+ $ this ->setDefaultSort ('created_at ' );
67+ $ this ->setDefaultDir ('desc ' );
6768 $ this ->setUseAjax (true );
6869 }
6970
Original file line number Diff line number Diff line change @@ -77,7 +77,8 @@ protected function _construct()
7777 {
7878 parent ::_construct ();
7979 $ this ->setId ('customer_view_cart_grid ' );
80- $ this ->setDefaultSort ('added_at ' , 'desc ' );
80+ $ this ->setDefaultSort ('added_at ' );
81+ $ this ->setDefaultDir ('desc ' );
8182 $ this ->setSortable (false );
8283 $ this ->setPagerVisibility (false );
8384 $ this ->setFilterVisibility (false );
You can’t perform that action at this time.
0 commit comments