Skip to content

Commit

Permalink
Order by all topics
Browse files Browse the repository at this point in the history
  • Loading branch information
Heiner Wolf committed Oct 14, 2024
1 parent 55e0c1f commit b6256a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/galdevweb/GaldevWeb/Pages/Index.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@
["de-DE"] = () => "Alle Themen",
["en-US"] = () => "All Topics",
}),
["Text"] = string.Join(" - ", Model.Timeline.Topics.Select(topic => "<a href='Topics#" + topic + "'>" + Model.Timeline.GetTitleOfTopic(topic) + "</a>")),
["Text"] = string.Join(" - ", Model.Timeline.Topics.OrderBy(topic => Model.Timeline.GetTitleOfTopic(topic)).Select(topic => "<a href='Topics#" + topic + "'>" + Model.Timeline.GetTitleOfTopic(topic) + "</a>")),
}));
}

Expand Down

0 comments on commit b6256a4

Please sign in to comment.