ToolJet icon indicating copy to clipboard operation
ToolJet copied to clipboard

Airtable Listing Records - Pagination Not Working

Open yapnel opened this issue 3 years ago • 0 comments

Version Information

1.20.4 version

Environment

Docker

What is the expected behaviour?

Expecting the table component to display all the records from Airtable table using the Listing Records query after providing the offset using {{queries.airtable1.rawData.offset}}

What is the current behaviour?

The table component is only showing 100 records. Even changing to sever side pagination it is still the same.

How to reproduce the issue?

  1. Create an Airtable Listing Records query
  2. Enable Transformation return data.records.map(row => { let obj = {} obj.fields = row.fields obj.fields.id = row.id return obj.fields });
  3. Enter {{queries.airtable1.rawData.offset}} as the offset
  4. Save and Execute
  5. Bind the query to the Table component

Screenshots or Screencast

Please provide any traces or logs that could help here.

Any possible solutions?

Can you identify the location in the driver source code where the problem exists?

If the bug is confirmed, would you be willing to submit a PR?

yapnel avatar Jul 22 '22 12:07 yapnel