You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
analytics/test/plausible_web/controllers/api
Vini Brasil 4503895d0a
Fix breakdown API pagination when using event metrics (#2562)
* Fix breakdown API pagination when using event metrics

This commit fixes a bug where the subsequent breakdown API pages had
the same items as the first page. The fix sorts the underlying
ClickHouse query by timestamp, keeping the same order between requests,
as we use OFFSET/LIMIT pagination.

* Fix repeated results assertion

* Add different ORDER BY to each breakdown property
4 years ago
..
external_stats_controller Fix breakdown API pagination when using event metrics (#2562) 4 years ago
stats_controller Fix breakdown API pagination when using event metrics (#2562) 4 years ago
external_controller_test.exs Ignore unknown countries (#2556) 4 years ago
external_sites_controller_test.exs Run tests in async mode where applicable (#2542) 4 years ago
internal_controller_test.exs Run tests in async mode where applicable (#2542) 4 years ago
paddle_controller_test.exs Run tests in async mode where applicable (#2542) 4 years ago