Commit c938aa7ad315845c6a60200d2a481e8afb6a9233
1 parent
89b5dccb
test
Showing
1 changed file
with
1 additions
and
2 deletions
Show diff stats
app/library/App/Controllers/ProjectController.php
... | ... | @@ -48,8 +48,7 @@ class ProjectController extends CrudResourceController { |
48 | 48 | $phqlBuilder = $this->phqlQueryParser->fromQuery($this->query, $this->getResource()); |
49 | 49 | |
50 | 50 | $phqlBuilder |
51 | - ->andWhere('[' . $this->getResource()->getModel() . '].' . $this->getModelPrimaryKey() . ' = '.$id) | |
52 | - ->limit(1); | |
51 | + ->andWhere('[' . $this->getResource()->getModel() . '].' . $this->getModelPrimaryKey() . ' = '.$id); | |
53 | 52 | |
54 | 53 | $this->modifyReadQuery($phqlBuilder); |
55 | 54 | $this->modifyFindQuery($phqlBuilder, $id); | ... | ... |