Corrected indexing with SqlCe

--HG--
branch : dev
This commit is contained in:
Sebastien Ros
2010-07-14 16:09:15 -07:00
parent 236b743a04
commit e6d13e9961

View File

@@ -55,7 +55,7 @@ namespace Orchard.Indexing.Services {
} }
public DateTime GetLastTaskDateTime() { public DateTime GetLastTaskDateTime() {
return _repository.Table.Max(t => t.CreatedUtc) ?? DateTime.MinValue; return _repository.Table.Max(t => t.CreatedUtc) ?? new DateTime(1980, 1, 1);
} }
/// <summary> /// <summary>