Merge pull request #3277 from kopymark/patch-3

Fix for joins code block
This commit is contained in:
Damian Mooyman 2014-07-23 08:54:18 +12:00
commit 350ee4d421

View File

@ -316,7 +316,7 @@ that does not exist in a Group.
You can limit the amount of records returned in a DataList by using the
`limit()` method.
:::php
// Returning the first 5 members, sorted alphabetically by Surname
$members = Member::get()->sort('Surname')->limit(5);