traque les éditions de billet

This commit is contained in:
Paul Schneider 2017-01-17 15:20:50 +01:00
commit fa6f65c625
4 changed files with 1 additions and 5 deletions

View file

@ -47,7 +47,7 @@ namespace Yavsc.Controllers
return UserPosts(id);
return View(_context.Blogspot.Include(
b => b.Author
).Where(p => p.Visible || p.AuthorId == uid ).OrderByDescending(p => p.UserCreated)
).Where(p => p.Visible || p.AuthorId == uid ).OrderByDescending(p => p.DateCreated)
.Skip(skip).Take(maxLen));
}