mirror of
https://github.com/lempamo/Project-Unite.git
synced 2025-01-22 11:21:47 -05:00
order blog entries by post date
This commit is contained in:
parent
45746d4c4a
commit
e268cb312e
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@
|
||||||
</ul>
|
</ul>
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@foreach(var blog in Model)
|
@foreach(var blog in Model.OrderByDescending(x=>x.PostedAt))
|
||||||
{
|
{
|
||||||
<div class="panel">
|
<div class="panel">
|
||||||
<div class="panel-body">
|
<div class="panel-body">
|
||||||
|
|
Loading…
Reference in a new issue