TappNetwork/laravel-airtable

Issue with fetching all records

yassinebourakba opened this issue · 0 comments

Description

When using getAllPages() method in AirtableApiClient class, the returned records don't match the preset filters.

How to reproduce the issue

When making a query with filters such as :

Airtable::where('id', '>', '5')->all();

If and only if the count of records that satisfy the where clause are superior to the pageSize (100 by default), in other words if there is an offset for paginated result, the reponse will carry all records in Airtable not only those with id > 5.