Skip to content

When I utilize pagination for a result set that is filtered, the links should include the filters. #273

Closed
@turingtestable

Description

@turingtestable

Were I to query in this way:
someBaseUrl/posts?page[size]=10&page[number]=1&filter[author]=eq:AuthorName

I would expect my relationships to reflect the filters, otherwise I will get weird data in return from the library.
Expected
"links": {
"next" : someBaseUrl/posts?page[size]=10&page[number]=2&filter[author]=eq:AuthorName
"last": someBaseUrl/posts?page[size]=10&page[number]=3&filter[author]=eq:AuthorName
}

Actual

"links": {
"next" : someBaseUrl/posts?page[size]=10&page[number]=2
"last": someBaseUrl/posts?page[size]=10&page[number]=3
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions