Skip to content

Pagination: Warning: A non-numeric value encountered #1860

Closed
@norkunas

Description

@norkunas

I've accidentally called endpoint with page parameter as js object which was casted to [object Object] and surprisingly i've got 500 instead of 400? or just ignoring the page.

Pagination doesn't check if the received page value is numeric before dealing with calculations.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions