Mercurial > altnet-hispano
diff Agendas/trunk/src/Agendas.Web/Views/Historico/Index.cshtml @ 172:a18d4d12fc36
Se ordena el historial por Nro de Orden
author | juanjose.montesdeocaarbos |
---|---|
date | Sat, 06 Aug 2011 15:11:41 -0300 |
parents | c99636fbdc5f |
children | 85ddae313408 |
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>