traque les éditions de billet

This commit is contained in:
2017-01-17 15:20:50 +01:00
parent 66bdc723f1
commit 040db1648f
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));
}