Skip to content

Paginated search queries always returns a next token even if it's the last page of the pagination. #242

Closed
@pedro-cf

Description

@pedro-cf

Describe the bug
Paginated search queries always returns a next token even if it's the last page of the pagination.

To Reproduce
Steps to reproduce the behavior:

  1. Run app docker-compose up
  2. Create test collection
  3. Creation 1 test item
  4. Run search query with "limit":1 -> Response will contain an "next link"

Expected behavior
I assume the last page of the pagination should not include a "next link"

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