It has been reported by our client that the ordering of records is inconsistent within the OAI response. Whilst the first page appears to return items in a random order, subsequent pages of a paginated list are sorted. My knowledge of this module and usage is currently next to nothing but I wonder whether this is caused by this code https://github.com/silverstripe-terraformers/open-archive-initiative-repository/blob/main/src/Controllers/OaiController.php#L423-L431
Presumably the first page wouldn't have any applied filters, so an unsorted list is returned, otherwise sorting is applied.
It has been reported by our client that the ordering of records is inconsistent within the OAI response. Whilst the first page appears to return items in a random order, subsequent pages of a paginated list are sorted. My knowledge of this module and usage is currently next to nothing but I wonder whether this is caused by this code https://github.com/silverstripe-terraformers/open-archive-initiative-repository/blob/main/src/Controllers/OaiController.php#L423-L431
Presumably the first page wouldn't have any applied filters, so an unsorted list is returned, otherwise sorting is applied.