Use page query param consistently as string for ReportsTable (#51396)
This commit is contained in:
parent
1ef1aaa1f0
commit
a89bd1a485
|
@ -0,0 +1,4 @@
|
||||||
|
Significance: patch
|
||||||
|
Type: fix
|
||||||
|
|
||||||
|
Use page query param consistently as string for `getReportTableQuery`.
|
|
@ -561,7 +561,7 @@ export function getReportTableQuery(
|
||||||
before: noIntervals
|
before: noIntervals
|
||||||
? undefined
|
? undefined
|
||||||
: appendTimestamp( datesFromQuery.primary.before, 'end' ),
|
: appendTimestamp( datesFromQuery.primary.before, 'end' ),
|
||||||
page: query.paged || 1,
|
page: query.paged || '1',
|
||||||
per_page: query.per_page || QUERY_DEFAULTS.pageSize,
|
per_page: query.per_page || QUERY_DEFAULTS.pageSize,
|
||||||
...filterQuery,
|
...filterQuery,
|
||||||
...tableQuery,
|
...tableQuery,
|
||||||
|
|
Loading…
Reference in New Issue