Skip to content

Collation with pagination #417

@noemission

Description

@noemission

Steps to reproduce

When pagination is enabled, the code that runs a count query before the actual query doesn't take into account the collation options.
The line here needs to add the collation options in order to get the correct amount of found documents.

Right now the response of a query will contain the correct documents in the data object but the total will be zero, making pagination unusable with collation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions