diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-07-24 12:09:41 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-07-24 12:09:41 -0400 |
commit | 51b2193fc43a25f309a8510b64027d40bf21e12d (patch) | |
tree | 32683ee323de8260b24a2023401b720e56f5f58d /app/Model/ProjectModel.php | |
parent | 506ebf3bac302a63be7c32a03b872a9eefa689fc (diff) |
Move dashboard pagination into separate classes
Diffstat (limited to 'app/Model/ProjectModel.php')
-rw-r--r-- | app/Model/ProjectModel.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Model/ProjectModel.php b/app/Model/ProjectModel.php index 850531c9..d2019b72 100644 --- a/app/Model/ProjectModel.php +++ b/app/Model/ProjectModel.php @@ -318,7 +318,7 @@ class ProjectModel extends Base public function getQueryColumnStats(array $project_ids) { if (empty($project_ids)) { - return $this->db->table(ProjectModel::TABLE)->limit(0); + return $this->db->table(ProjectModel::TABLE)->eq(ProjectModel::TABLE.'.id', 0); } return $this->db |