Fix "sort by document type" in content listviews
This commit is contained in:
committed by
Sebastiaan Janssen
parent
8d382fb9b7
commit
07684bb1d6
@@ -703,6 +703,8 @@ ORDER BY contentNodeId, versionId, propertytypeid
|
||||
// Members only
|
||||
case "USERNAME":
|
||||
return "cmsMember.LoginName";
|
||||
case "CONTENTTYPEALIAS":
|
||||
return "cmsContentType.alias";
|
||||
default:
|
||||
//ensure invalid SQL cannot be submitted
|
||||
return Regex.Replace(orderBy, @"[^\w\.,`\[\]@-]", "");
|
||||
|
||||
Reference in New Issue
Block a user