Fetch contentful items in a specific order

Hello,

I am using Contentful as the CMS and am integrating it into my plasmic website to fetch data.
I wondered if there was a way in Contentful Fetcher to fetch a batch of records in a specific order.

For instance, I have a Work content model inside Contentful, and It has a date field (date which work was published)

I want to fetch all works in this contentful fetcher but ordered by newest to oldest.

Currently I don’t see an option in contentful fetcher that allows me to do this.

Is there a workaround? Thank you or any tips.

Hi, it’s currently not possible through the Contentful Fetcher. The workaround would be using HTTP Fetcher to fetch Contentful API, but that would be more complex. We will evaluate adding an option to order the elements based on a field.

Hi @fmota, thanks for the reply. Noted, thank you. I am using graphql to retrieve the data atm; working great but it would help if we have that feature in contentful fetcher :grin: