U4-7238 issue sorting listview after 7.3.0 upgrade

http://issues.umbraco.org/issue/U4-7238

System field publish only available for Content, didn't work on content
sorting by this field. Fixed by prefixing the field with table:
cmsDocumen.published.
This commit is contained in:
Luka Kuljic
2016-10-06 15:59:59 +02:00
parent f78e496e69
commit 7ffb22a40f

View File

@@ -610,6 +610,8 @@ WHERE EXISTS(
return "cmsContentVersion.VersionDate";
case "NAME":
return "umbracoNode.text";
case "PUBLISHED":
return "cmsDocument.published";
case "OWNER":
//TODO: This isn't going to work very nicely because it's going to order by ID, not by letter
return "umbracoNode.nodeUser";