import Ember from 'ember';
import AuthenticatedRouteMixin from 'ember-simple-auth/mixins/authenticated-route-mixin';

export default Ember.Route.extend(AuthenticatedRouteMixin, {
  currentUser: Ember.inject.service('current-user'),
  model: function() {
    let user = this.get('currentUser.user.id');
    return this.get('store').query('entity', {
      'kind__gt': '30',
      'members__person__user': user
    });
  },
});

import Ember from 'ember';
import AuthenticatedRouteMixin from 'ember-simple-auth/mixins/authenticated-route-mixin';

export default Ember.Route.extend(AuthenticatedRouteMixin, {
  currentUser: Ember.inject.service('current-user'),
  model: function() {
    let user = this.get('currentUser.user.id');
    return this.get('store').query('entity', {
      'kind__gt': '30',
      'members__person__user': user,
      'page_size': 100
    });
  },
});

Expand pagination for Group manager
Expand pagination for Group manager
