summaryrefslogtreecommitdiff
path: root/CoreWiki/Pages/LatestChanges.cshtml.cs
diff options
context:
space:
mode:
Diffstat (limited to 'CoreWiki/Pages/LatestChanges.cshtml.cs')
-rw-r--r--CoreWiki/Pages/LatestChanges.cshtml.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/CoreWiki/Pages/LatestChanges.cshtml.cs b/CoreWiki/Pages/LatestChanges.cshtml.cs
index d750417..83a70ab 100644
--- a/CoreWiki/Pages/LatestChanges.cshtml.cs
+++ b/CoreWiki/Pages/LatestChanges.cshtml.cs
@@ -24,7 +24,7 @@ namespace CoreWiki.Pages
{
if (_context.Articles != null)
{
- Article = await _context.Articles.OrderByDescending(a => a.Published).Take(10).ToListAsync();
+ Article = await _context.Articles.OrderByDescending(a => a.PublishedDateTime).Take(10).ToListAsync();
}
}
}