Skip to content

Pagination links lose filter parameters #1236

@tpoliaw

Description

@tpoliaw

When calling /search (and /distinct?) with a series of filters, these are not reflected in the pagination links in the response, eg

# Ignoring urlencoding for readability
$ curl http://localhost:8000/api/v1/search/?filter[eq][condition][key]=start.instrument&filter[eq][condition][value]="ixx" | jq '.links.self'
http://localhost:8000/api/v1/search/?page[offset]=0&page[limit]=100

where the filters are lost. The same applies to the first/last/next/prev links.

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