Closed mindeffects closed 6 years ago
Bug experienced! Hopefully will be fixed.
Bug also experienced.
Oliver, thank you for the workaround while it's not fixed.
You cannot use limit=0. That is simply an invalid limit.
Ok, so the MODX Extras page ist wrong:
limit | Limits the number of resources returned. Use 0
for unlimited results. | 5
[https://docs.modx.com/extras/revo/getresources]
No. You cannot use an offset if you use a limit of 0 is what I mean. This is a MySQL limitation.
Hi Jason, it seems that the "limit" parameter, when set to "0", overwrites any "offset" parameter. I allways thought of "limit" as "the number of elements starting to count at the offset", like "start at element 6 and continue until you reach the end". This is not possible with limit=0 – but with limit=9999 which is somehow "bad style", right? Whats the bigges possible integer? ;-) cheers Oliver