{"size": 550, "ext": "js", "max_stars_repo_path": "uber-app/app/controllers/uber-tasks/index.js", "max_stars_repo_name": "Akirix/akirix-suite", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "uber-app/app/controllers/uber-tasks/index.js", "max_issues_repo_name": "Akirix/akirix-suite", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "uber-app/app/controllers/uber-tasks/index.js", "max_forks_repo_name": "Akirix/akirix-suite", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 26.1904761905, "max_line_length": 69, "alphanum_fraction": 0.6181818182}
import Ember from 'ember';
import AkxUtil from 'uber-app/utils/akx-util';
import pagedArray from 'ember-cli-pagination/computed/paged-array';

export default Ember.Controller.extend( {

    queryParams: [ 'status', 'type', 'due_date', 'page', 'perPage' ],

    page: 1,
    perPage: 25,

    sortProperties: [ 'order' ],
    sortAscending: false,

    tasksStatusUpdated: function(){
        var self = this;
        Ember.run.next( function(){
            self.send( 'refreshTasks' );
        } );
    }.observes( 'status', 'type', 'due_date' )
} );