SearchBar presque fonctionnelle, Featured qui va fetcher dans la bd
This commit is contained in:
@@ -62,6 +62,9 @@ public class InventoryController : Controller {
|
||||
case "isDiscontinued":
|
||||
ret = ret.Where(x => x.Status == Product.States.Discontinued);
|
||||
break;
|
||||
case "isPromoted":
|
||||
ret = ret.Where(x => x.Status == Product.States.Clearance || x.Status == Product.States.Promotion);
|
||||
break;
|
||||
default: break;
|
||||
}
|
||||
switch (order) {
|
||||
|
Reference in New Issue
Block a user