findMany() EntityService returns same content with different pagination

Hello I’m using the entity service to findMany and apply filter, sorting and pagination.

The behaviour im having is that with same filter and sort, and only changing the start of my pagination i get some content from previous page.

const entries = await strapi.entityService.findMany(
  "api::content.content",
  {
    filters,
    populate: { profile: true, main_image: true, calendar: true },
    sort,
    start,
    limit,

  }
);

ie: start=0 limit=7 returns 7 elements.
Then start=7 limit=7 returns also 7 elements but there is 1 or 2 elements that where in the previous page.

I’m using strapi version: v4.14.4

This topic has been created from a Discord post (1275066138048466994) to give it more visibility.
It will be on Read-Only mode here.
Join the conversation on Discord

1 Like