Recipe description didn't match selected one (#7559)

This commit is contained in:
siyamandayubi
2017-02-09 21:36:05 +01:00
committed by Sébastien Ros
parent 5c64eba92b
commit b229eb4b32

View File

@@ -46,11 +46,11 @@ namespace Orchard.Setup.Controllers {
public ActionResult Index() {
var initialSettings = _setupService.Prime();
var recipes = _setupService.Recipes().ToList();
var recipes = _setupService.Recipes().OrderBy(c => c.Name).ToList();
string recipeDescription = null;
if (recipes.Any()) {
recipeDescription = recipes[0].Description;
recipeDescription = recipes.First().Description;
}
// On the first time installation of Orchard, the user gets to the setup screen, which