Fixe l'index du blog utilisateur

main
Paul Schneider 8 years ago
parent 9019f39ede
commit 7c80589e87
1 changed files with 1 additions and 1 deletions

@ -98,7 +98,7 @@ namespace Yavsc.Controllers
b => b.Author
).Where(x => x.Author.UserName == id && x.Visible);
// BlogIndexKey
return View("Index", result.OrderByDescending(p => p.DateCreated).ToList().GroupBy(p=>new BlogIndexKey { Title = p.Title, AuthorId = p.AuthorId } ));
return View("Index", result.OrderByDescending(p => p.DateCreated).ToList().GroupBy(p=> p.Title ));
}
// GET: Blog/Details/5
[AllowAnonymous]

Loading…