Skip to content

Problems with "page" variable #153

Open
@alexsantm2019

Description

@alexsantm2019

Hi everyone,

The component works fine in my view, however I have a problem with the variable "page". It happens that I have a component that has nested filters, and when I call an API, it returns the results without problems; I scroll, and it brings me data by pages (everything OK). When I change the filter (by dates), the "page" variable is set with the last value of the previous API call, and therefore, sometimes the results are empty. How can I improve the treatment of the "page" variable, so that every time I ask for a new filter, it stays at 1?

Thanks in advanced

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