Skip to content

Inconsistent sorting of OAI records #17

@adunn49

Description

@adunn49

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions