Skip to content

Commit

Permalink
Merge pull request #181 from creative-commoners/pulls/1/nested-gridfi…
Browse files Browse the repository at this point in the history
…eld-behat-tests

MNT Change set of ids to limit in NonRelationalData test class
  • Loading branch information
GuySartorelli authored May 28, 2024
2 parents 0c704a2 + d18f92e commit d27e8db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/fields/NestedGridField/NonRelationalData.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class NonRelationalData extends DataObject

public function getList() {
$list = ArrayList::create();
$data = Company::get()->byIDs([1,2,3,4,5]);
$data = Company::get()->limit(5);
foreach ($data as $value) {
$list->push($value);
}
Expand Down

0 comments on commit d27e8db

Please sign in to comment.