1. Bertrand Le Roy
  2. Nwazet.Commerce

Commits

Bertrand Le Roy  committed 218dc32

Cancelled orders don't appear in the list unless you explicitly filter for them.

  • Participants
  • Parent commits 56a1a7e
  • Branches default

Comments (0)

Files changed (1)

File Controllers/OrderAdminController.cs

View file
  • Ignore whitespace
                     query = query.Where(o => o.Status == filterOption);
                 }
                 else {
-                    query = query.Where(o => o.Status != OrderPart.Archived);
+                    query = query.Where(o => o.Status != OrderPart.Archived && o.Status != OrderPart.Cancelled);
                 }
 
                 switch (model.Options.OrderBy) {