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()
63
63
{
64
64
parent ::_construct ();
65
65
$ this ->setId ('customer_orders_grid ' );
66
- $ this ->setDefaultSort ('created_at ' , 'desc ' );
66
+ $ this ->setDefaultSort ('created_at ' );
67
+ $ this ->setDefaultDir ('desc ' );
67
68
$ this ->setUseAjax (true );
68
69
}
69
70
Original file line number Diff line number Diff line change @@ -77,7 +77,8 @@ protected function _construct()
77
77
{
78
78
parent ::_construct ();
79
79
$ this ->setId ('customer_view_cart_grid ' );
80
- $ this ->setDefaultSort ('added_at ' , 'desc ' );
80
+ $ this ->setDefaultSort ('added_at ' );
81
+ $ this ->setDefaultDir ('desc ' );
81
82
$ this ->setSortable (false );
82
83
$ this ->setPagerVisibility (false );
83
84
$ this ->setFilterVisibility (false );
You can’t perform that action at this time.
0 commit comments