Skip to content

Commit

Permalink
quick default sort in the CategorizedFarmReportFarmPlugin on serverna…
Browse files Browse the repository at this point in the history
…me and projectname
  • Loading branch information
RubenWillems committed Jul 12, 2014
1 parent 3dbcefd commit 3c6f4ad
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
using System;
using ThoughtWorks.CruiseControl.Core;
using System.Web;
using System.Linq;


[ReflectorType("categorizedFarmReportFarmPlugin")]
Expand Down Expand Up @@ -77,7 +78,7 @@ public IResponse Execute(ICruiseRequest request)

var categories = new SortedDictionary<string, CategoryInformation>();

foreach (var row in gridRows)
foreach (var row in gridRows.OrderBy( s=> s.ServerName).ThenBy( p => p.Name))
{
var rowCategory = row.Category;
CategoryInformation categoryRows;
Expand Down

0 comments on commit 3c6f4ad

Please sign in to comment.