Order by date

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

Thanks
5 anos atrás
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);
5 anos atrás
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
5 anos atrás
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
5 anos atrás
3.9 is the same as above
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.