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() {
    let user_id = this.get('currentUser.user.id');
    return this.get('store').query('convention', {
      'assignments__person__user': user_id,
      'assignments__kind': 5, //Hard-coded
      'status__lt': 45 //Hard-coded
    });
  },
});

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() {
    let user_id = this.get('currentUser.user.id');
    return this.get('store').query('convention', {
      'assignments__person__user': user_id,
      'assignments__category': 5, //Hard-coded
      'status__lt': 45 //Hard-coded
    });
  },
});

Update kind -> category for assignment lists
Update kind -> category for assignment lists
