Skip to content

Add method to easily generate a pre-filtered URL #2703

@samuelhwilliams

Description

@samuelhwilliams

I don't think it's trivial currently to generate a URL for an admin page with some filters already applied.

I'd like to be able to do something like:

filtered_url = UserModelView.url_for(search="sam", filters={"age": [IntGreaterFilter(30)]})

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