Fixe l'index du blog utilisateur
This commit is contained in:
parent
4df7ef7f4b
commit
e66d4058bc
1 changed files with 1 additions and 1 deletions
|
|
@ -98,7 +98,7 @@ namespace Yavsc.Controllers
|
||||||
b => b.Author
|
b => b.Author
|
||||||
).Where(x => x.Author.UserName == id && x.Visible);
|
).Where(x => x.Author.UserName == id && x.Visible);
|
||||||
// BlogIndexKey
|
// 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
|
// GET: Blog/Details/5
|
||||||
[AllowAnonymous]
|
[AllowAnonymous]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue