mirror of
https://gitlab.com/buildfeed/BuildFeed.git
synced 2024-03-22 21:10:34 +08:00
Enforce sorting of families on home page
This commit is contained in:
parent
74e2e0bed8
commit
dcf0a7a7fe
|
@ -221,7 +221,7 @@ public async Task<Dictionary<ProjectFamily, FrontPage>> SelectFrontPage()
|
|||
}
|
||||
};
|
||||
|
||||
IEnumerable<ProjectFamily> listOfFamilies = results.GroupBy(g => g.Key.Family).Select(g => g.Key);
|
||||
IEnumerable<ProjectFamily> listOfFamilies = results.GroupBy(g => g.Key.Family).Select(g => g.Key).OrderByDescending(k => k);
|
||||
|
||||
foreach (ProjectFamily family in listOfFamilies)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user