query handlers are ignoring accumulate flag #7825
Labels
good first issue
Good for newcomers
icebox
Issues that we will not address for the time being
type: bug
Something isn't working as expected
Summary of Bug
Affected Query Handlers:
These query handlers are not properly considering the accumulate flag, which leads to incorrect pagination results. Specifically:
When pagination.limit = 1 is set, the response includes 2 items instead of 1.
When pagination.count_total = true is enabled alongside pagination.limit = 1, the response incorrectly includes all items instead of limiting to just 1.
Expected Behaviour
Should return
pagination.limit
of itemsVersion
Steps to Reproduce
Do query with pagination setting
For Admin Use
The text was updated successfully, but these errors were encountered: