diff --git a/src/Our.Umbraco.Look/Models/LookQuery.cs b/src/Our.Umbraco.Look/Models/LookQuery.cs
index 9d44475..361db37 100644
--- a/src/Our.Umbraco.Look/Models/LookQuery.cs
+++ b/src/Our.Umbraco.Look/Models/LookQuery.cs
@@ -15,10 +15,10 @@ public class LookQuery
///
public TagQuery TagQuery { get; set; } = new TagQuery();
- ///
- ///
- ///
- public DateQuery DateQuery { get; set; } = new DateQuery();
+ /////
+ /////
+ /////
+ //public DateQuery DateQuery { get; set; } = new DateQuery();
/////
/////
diff --git a/src/Our.Umbraco.Look/Services/LookSearchService.cs b/src/Our.Umbraco.Look/Services/LookSearchService.cs
index 90302ad..e070d6d 100644
--- a/src/Our.Umbraco.Look/Services/LookSearchService.cs
+++ b/src/Our.Umbraco.Look/Services/LookSearchService.cs
@@ -105,14 +105,14 @@ public static IEnumerableWithTotal Query(LookQuery lookQuery)
}
}
- // Date
- if (lookQuery.DateQuery != null && (lookQuery.DateQuery.After.HasValue || lookQuery.DateQuery.Before.HasValue))
- {
- query.And().Range(
- LookConstants.DateField,
- lookQuery.DateQuery.After.HasValue ? lookQuery.DateQuery.After.Value : DateTime.MinValue,
- lookQuery.DateQuery.Before.HasValue ? lookQuery.DateQuery.Before.Value : DateTime.MaxValue);
- }
+ //// Date
+ //if (lookQuery.DateQuery != null && (lookQuery.DateQuery.After.HasValue || lookQuery.DateQuery.Before.HasValue))
+ //{
+ // query.And().Range(
+ // LookConstants.DateField,
+ // lookQuery.DateQuery.After.HasValue ? lookQuery.DateQuery.After.Value : DateTime.MinValue,
+ // lookQuery.DateQuery.Before.HasValue ? lookQuery.DateQuery.Before.Value : DateTime.MaxValue);
+ //}
//// Name
//if (lookQuery.NameQuery != null)