Skip to content

Commit

Permalink
Merge pull request #732 from trsteel88/patch-1
Browse files Browse the repository at this point in the history
Update working-with-associations.rst
  • Loading branch information
guilhermeblanco committed Jul 23, 2013
2 parents 4bc8f7b + 23cc3ea commit 6f39a42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/en/reference/working-with-associations.rst
Original file line number Diff line number Diff line change
Expand Up @@ -630,7 +630,7 @@ large collections.
$criteria = Criteria::create()
->where(Criteria::expr()->eq("birthday", "1982-02-17"))
->orderBy(array("username" => "ASC"))
->orderBy(array("username" => Criteria::ASC))
->setFirstResult(0)
->setMaxResults(20)
;
Expand Down

0 comments on commit 6f39a42

Please sign in to comment.