@mattab opened this issue on February 13th 2016

refs https://github.com/piwik/piwik/issues/9200

@mattab commented on February 13th 2016

when a SQL query is wrapped ie. there is an inner query and an outer query (for example when segments are used and joins are done in a sub-query), the offset and limit is applied to the inner query. The offset should not be applied to the outer query since applying the offset twice will always result in the outer query returning no data.

@mattab commented on March 10th 2016

I assume my code is correct but a review post-merge is welcome :+1: @sgiehl @tsteur

This issue was closed on March 10th 2016
Powered by GitHub Issue Mirror