Mercurial > altnet-hispano
changeset 172:a18d4d12fc36
Se ordena el historial por Nro de Orden
author | juanjose.montesdeocaarbos |
---|---|
date | Sat, 06 Aug 2011 15:11:41 -0300 |
parents | 4e4b758ab744 |
children | 3095a0b960c8 |
files | Agendas/trunk/src/Agendas.Web/Views/Historico/Index.cshtml |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/Agendas/trunk/src/Agendas.Web/Views/Historico/Index.cshtml Sat Aug 06 13:46:56 2011 -0300 +++ b/Agendas/trunk/src/Agendas.Web/Views/Historico/Index.cshtml Sat Aug 06 15:11:41 2011 -0300 @@ -15,7 +15,7 @@ </tr> </thead> <tbody> - @foreach (var item in Model.Items) + @foreach (var item in Model.Items.OrderByDescending(i => i.Numero)) { <tr> <td>@item.Numero</td>