Skip to content

Commit 5bb44fe

Browse files
authored
Update RequestParser.php
1 parent e82b476 commit 5bb44fe

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/RequestParser.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,8 @@ private function parseFields($fields)
491491
$this->relations[$fieldName]["limit"] = max($this->relations[$fieldName]["limit"], $this->limit);
492492
}
493493
else if ($relation instanceof HasMany) {
494-
$this->relations[$fieldName]["limit"] = $this->relations[$fieldName]["limit"] * $this->limit;
494+
// Commented out for third level hasmany limit
495+
// $this->relations[$fieldName]["limit"] = $this->relations[$fieldName]["limit"] * $this->limit;
495496
}
496497
}
497498

0 commit comments

Comments
 (0)