mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Merge pull request #3277 from kopymark/patch-3
Fix for joins code block
This commit is contained in:
commit
350ee4d421
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user