Paged Query Offset Parameter Bug

Wappler Version : 4.9.0
Operating System : Windows 11
Server Model: NodeJS
Database Type: MySql
Hosting Type: Docker

Expected behavior

When adding a custom variable for a paged query’s offset parameter, that it would use this variable with no problems.

Actual behavior

This is the payload.

image

This is the response. Notice the limit. Regardless of the payload, it is ALWAYS 25.

image


I DO HAVE TO STRESS, when using the standard $_GET.offset variable, this works perfectly, even with a custom limit variable. When you change the $_GET.offset variable to, for example, $_GET.logs_offset, the above happens.

How to reproduce

Just create a paged query, then change the variable for the offset parameter. When changing the query params from, say, a select element, nothing will happen. The payload is correct, however the ServerConnect query comes back with a limit of 25, always.

Cheers
Michael

Community Page
Last updated: