public function getIssuesList($limit = 10) { $this->applyCriteria(); return $this->model->with('author')->paginate($limit); }