Planned for | Published on

Default order of Array Reference fields in cursorCollection queries will mirror the Entry field order

Change

Today, the order of the results Defaults to sys.updatedAt in Descending order.

After this change, the default order will adhere to the order of the References in the Array as they are configured in the Entry editor instead.

This change only affects the order of the results returned by the cursorCollection, the same GraphQL queries still remain valid.

This change applies to GraphQL Content API's Cursor based pagination on Reference fields


Example for authorsCursorCollection

Will return the items in the order they are configured on the Entry (e.g. ['foo', 'bar'])

If the order of the items on the Entry is changed (e.g. ['bar', 'foo']), the GraphQL query will also return the items in the updated order.