Finish up Web.Backoffice

This commit is contained in:
Nikolaj Geisle
2022-04-01 14:35:18 +02:00
parent 1a6f0e4d7b
commit 70a00901b4
45 changed files with 552 additions and 410 deletions

View File

@@ -174,7 +174,7 @@ namespace Umbraco.Cms.Web.BackOffice.Controllers
queryExpression.AppendFormat(model.Sort.Direction == "ascending"
? ".OrderBy(x => x.{0})"
: ".OrderByDescending(x => x.{0})"
, model.Sort.Property.Alias);
, model.Sort?.Property?.Alias);
}
// take