mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-24 01:49:12 +08:00
Recipe description didn't match selected one (#7559)
This commit is contained in:
committed by
Sébastien Ros
parent
5c64eba92b
commit
b229eb4b32
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user