Fixes a query that would cause the new petapoco changes to have issues since it was asking for the wrong type
This commit is contained in:
@@ -123,8 +123,8 @@ namespace UmbracoExamine.DataServices
|
||||
{
|
||||
try
|
||||
{
|
||||
var result = _applicationContext.DatabaseContext.Database.Fetch<PropertyAliasDto>("select distinct alias from cmsPropertyType order by alias");
|
||||
return result.Select(r => r.Alias).ToList();
|
||||
var result = _applicationContext.DatabaseContext.Database.Fetch<string>("select distinct alias from cmsPropertyType order by alias");
|
||||
return result;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user