diff Agendas/trunk/src/Agendas.Web/Controllers/HistoricoController.cs @ 215:85ddae313408

Se soluciona ticket #178. Se resuelve ordenar Historico de Eventos solamente por NumeroOrden de forma descendente.
author alabra
date Sun, 04 Sep 2011 18:35:33 -0300
parents 2d02adb79322
children 11545cc95491
line wrap: on
line diff
--- a/Agendas/trunk/src/Agendas.Web/Controllers/HistoricoController.cs	Wed Aug 31 07:29:31 2011 -0300
+++ b/Agendas/trunk/src/Agendas.Web/Controllers/HistoricoController.cs	Sun Sep 04 18:35:33 2011 -0300
@@ -11,10 +11,10 @@
 		{
 			var agenda = AgendaFactory.GetAgenda();
 
-			var model = new HistoricoIndexModel
+            var model = new HistoricoIndexModel
 			            	{
-			            		Items = from e in agenda.GetHistorico()
-			            		        orderby e.FechaInicio
+                                Items = from e in agenda.GetHistorico()
+			            		        orderby e.NumeroOrden descending
 			            		        select new HistoricoDto
 			            		               	{
 			            		               		Id = e.Id.ToString(),