Skip to content

Commit

Permalink
Merge branch 'master' of ..\RaccoonBlog2
Browse files Browse the repository at this point in the history
  • Loading branch information
ayende committed Nov 10, 2011
2 parents a5974ef + 3515931 commit fdcf392
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -21,6 +21,9 @@ public Posts_ByMonthPublished_Count()
group result by new {result.Year, result.Month}
into g
select new {g.Key.Year, g.Key.Month, Count = g.Sum(x => x.Count)};

Sort(x=>x.Month, global::Raven.Abstractions.Indexing.SortOptions.Int);
Sort(x => x.Year, global::Raven.Abstractions.Indexing.SortOptions.Int);
}
}
}

0 comments on commit fdcf392

Please sign in to comment.