From 620d0121c8624aff60cbaa09795549a53400d70c Mon Sep 17 00:00:00 2001 From: Emanuel Schuetze Date: Mon, 18 Jan 2016 20:51:44 +0100 Subject: [PATCH] Do not show group "Registered" in users list/detail view. --- openslides/users/static/js/users/site.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openslides/users/static/js/users/site.js b/openslides/users/static/js/users/site.js index fd01d1ac0..1f23fd434 100644 --- a/openslides/users/static/js/users/site.js +++ b/openslides/users/static/js/users/site.js @@ -404,7 +404,7 @@ angular.module('OpenSlidesApp.users.site', ['OpenSlidesApp.users']) 'Group', function($scope, $state, ngDialog, UserForm, User, Group) { User.bindAll({}, $scope, 'users'); - Group.bindAll({}, $scope, 'groups'); + Group.bindAll({where: {id: {'>': 2}}}, $scope, 'groups'); $scope.alert = {}; // setup table sorting @@ -480,7 +480,7 @@ angular.module('OpenSlidesApp.users.site', ['OpenSlidesApp.users']) 'Group', function($scope, ngDialog, UserForm, User, user, Group) { User.bindOne(user.id, $scope, 'user'); - Group.bindAll({}, $scope, 'groups'); + Group.bindAll({where: {id: {'>': 2}}}, $scope, 'groups'); // open edit dialog $scope.openDialog = function (user) {