We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 20270ef + 0608043 commit b343211Copy full SHA for b343211
src/Services/FileMakerConnection.php
@@ -344,6 +344,16 @@ public function getRecords(FMBaseBuilder $query)
344
if ($query->portal !== null) {
345
$queryParams['portal'] = $query->portal;
346
}
347
+ if (isset($query->limitPortals) && count($query->limitPortals) > 0) {
348
+ foreach ($query->limitPortals as $portalArray) {
349
+ $queryParams['_limit.' . urlencode($portalArray['portalName'])] = $portalArray['limit'];
350
+ }
351
352
+ if (isset($query->offsetPortals) && count($query->offsetPortals) > 0) {
353
+ foreach ($query->offsetPortals as $portalArray) {
354
+ $queryParams['_offset.' . urlencode($portalArray['portalName'])] = $portalArray['offset'];
355
356
357
358
$response = $this->makeRequest('get', $url, $queryParams);
359
0 commit comments