From e6d13e9961b775fabe98c1b173e853e9ccb3021f Mon Sep 17 00:00:00 2001 From: Sebastien Ros Date: Wed, 14 Jul 2010 16:09:15 -0700 Subject: [PATCH] Corrected indexing with SqlCe --HG-- branch : dev --- .../Modules/Orchard.Indexing/Services/IndexingTaskManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Orchard.Web/Modules/Orchard.Indexing/Services/IndexingTaskManager.cs b/src/Orchard.Web/Modules/Orchard.Indexing/Services/IndexingTaskManager.cs index 9c2cb0de6..75c30f699 100644 --- a/src/Orchard.Web/Modules/Orchard.Indexing/Services/IndexingTaskManager.cs +++ b/src/Orchard.Web/Modules/Orchard.Indexing/Services/IndexingTaskManager.cs @@ -55,7 +55,7 @@ namespace Orchard.Indexing.Services { } public DateTime GetLastTaskDateTime() { - return _repository.Table.Max(t => t.CreatedUtc) ?? DateTime.MinValue; + return _repository.Table.Max(t => t.CreatedUtc) ?? new DateTime(1980, 1, 1); } ///