Skip to content
This repository was archived by the owner on Dec 19, 2025. It is now read-only.
This repository was archived by the owner on Dec 19, 2025. It is now read-only.

Incorrect prev returned when querying the latest record #96

@zomars

Description

@zomars

I have 4 entries with their respective ids [1, 2, 3, 4]. When the latest one is being requested (entries/4), it should return id 3, but instead it returns the first one:

{
    "links": {
        "self": "http://localhost:3000/json/entries/4",
        "prev": "http://localhost:3000/json/entries/1"
    },
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions