Query params are missing from prev/next links in PagedJsonResponse

Created on 9 May 2023, about 1 year ago

Problem/Motivation

The PagedJsonResponse class and child classes return a links array that can contain two pagination links, prev and next. These links contain a page query parameter, but are missing any query parameters that are present on the current url.

Steps to reproduce

Call an API endpoint returning a PagedJsonResponse response with extra query params. The extra query params will not be present on the prev/next urls.

Proposed resolution

Add the query params.

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡§πŸ‡ͺBelgium DieterHolvoet Brussels

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024