anchor.diff:                    count: pageSize()} }, renderFilteredUsers);
             }
   
  +          function resetGroupFilter() {
  +            $('#breadcrumb').breadcrumb('current', function(group) {
  +              if (_currentGroup != group) {
  +                _currentGroup = group;
  +                groupCache.reset();
  +                groupCache.load(_currentGroup, renderUserGroups);
  +              }
  +            });
  +          }
  +
             function onEvent(event, processor, args) {
               self.event = event;
               processor(args);
               self.event = null;
             }
   
  -          function loadNextGroups(page, count, renderer) {
  +          /*function renderNextGroups(page, count, renderer) {
               var start = count * (page - 1);
               var end = start + count;
  -            if (end >= _groups.length)
  +            if (end > _groups.length || _groups[start] == null || _groups[end-1] == null)
                 $('#breadcrumb').breadcrumb('current', function(group) {
                   group.loadChildren({pagination: {page: page, count: count}}, function(groups) {
  -                  var start = addGroupsInCache(groups);
  +                  addGroupsInCache(start, groups);
                     if (renderer)
  -                    renderer(_groups, start);
  +                    renderer(_groups, start, end);
                   });
                 });
               else if (renderer)
                 renderer(_groups, start, end);
  -          }
  +          }*/
   
             this.event = null;
   
  
positive.code:           this.onGroupSearch = function(pattern) {
              onEvent('search', function() {
                var name = arguments[0];
                $('#breadcrumb').breadcrumb('current', function(group) {
                  group.loadChildren({ name: name }, renderFilteredUserGroups);
                });
              }, pattern);
            }
          }
  
negative.code:           this.onInit = function() {
              onEvent('init', function() {
                _currentGroup = rootUserGroup;
                groupCache.load(_currentGroup, function(groups) {
                  if (groups.length == 0) {
                    itemToSelect = 'user';
                    $('#filter_groups').remove();
                    $('.groups_results_userPanel').remove();
                    $('.groups_selected_userPanel').remove();
                  } else {
                    renderUserGroups(groups);
                  }
                  self.onAllUsers();
                  highlightFilter($('#filter_users'));
                });
  
                /*rootUserGroup.loadChildren({pagination: _pagination}, function(groups) {
                  if (groups.length == 0) {
                    itemToSelect = 'user';
                    $('#filter_groups').remove();
                    $('.groups_results_userPanel').remove();
                    $('.groups_selected_userPanel').remove();
                  } else {
                    groupCache.set(groups);
                    renderUserGroups(groups);
                  }
                  self.onAllUsers();
                  highlightFilter($('#filter_users'));
                });*/
              });
            }
  
  