Skip to content

prev_page field is always null on search #10349

Open
@GuillaumeGomez

Description

@GuillaumeGomez

Current Behavior

prev_page is always null.

Expected Behavior

It should return the seek for the previous page if there is one.

Steps To Reproduce

You can see the issue on docs.rs:

Go to https://docs.rs/releases/search?query=sysinfo
Click "next page"

Then you can see that there is no "previous page" button. I originally suspected a bug on docs.rs side but after investigating, it looks like the ["api", "v1", "crates"] query always return a null prev_page in the JSON response.

Environment

No response

Anything else?

No response

Metadata

Metadata

Assignees

Labels

A-backend ⚙️C-enhancement ✨Category: Adding new behavior or a change to the way an existing feature works

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions