diff --git a/FishFactory/FishFactoryFileImplement/Implements/OrderStorage.cs b/FishFactory/FishFactoryFileImplement/Implements/OrderStorage.cs index f53a0b5..115c73f 100644 --- a/FishFactory/FishFactoryFileImplement/Implements/OrderStorage.cs +++ b/FishFactory/FishFactoryFileImplement/Implements/OrderStorage.cs @@ -45,7 +45,7 @@ namespace FishFactoryFileImplement.Implements public List GetFilteredList(OrderSearchModel model) { - if (!model.Id.HasValue) + if (!model.Id.HasValue && !model.DateFrom.HasValue && !model.DateTo.HasValue) { return new(); }