Removed ability to sort member list view system fields other than those on the base table (others aren't handled so error)
This commit is contained in:
@@ -82,6 +82,11 @@ function listViewController($rootScope, $scope, $routeParams, $injector, notific
|
||||
e.allowSorting = true;
|
||||
}
|
||||
|
||||
// Another special case for members, only fields on the base table (cmsMember) can be used for sorting
|
||||
if (e.isSystem && $scope.entityType == "member") {
|
||||
e.allowSorting = e.alias == 'username' || e.alias == 'email';
|
||||
}
|
||||
|
||||
if (e.isSystem) {
|
||||
//localize the header
|
||||
var key = getLocalizedKey(e.alias);
|
||||
|
||||
Reference in New Issue
Block a user