Order by date

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
Hace 5 años
Where in the code do I need to change the order display logic? Not by customer, but all orders by date parameter.

Thanks
Hace 5 años
Which version - assuming 4.1 ?
Assuming you mean in the admin orders list ?

It is in
     public virtual IPagedList<Order> SearchOrders(int storeId = 0,

It already orders by Created Date (Decending)

     query = query.OrderByDescending(o => o.CreatedOnUtc);
Hace 5 años
gnikitsin wrote:
Where in the code do I need to change the order display logic? Not by customer, but all orders by date parameter.

ver 3.9

Thanks
Hace 5 años
Yidna wrote:
Which version - assuming 4.1 ?
Assuming you mean in the admin orders list ?

It is in
     public virtual IPagedList<Order> SearchOrders(int storeId = 0,

It already orders by Created Date (Decending)

     query = query.OrderByDescending(o => o.CreatedOnUtc);


no admin
Hace 5 años
3.9 is the same as above
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.