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/stats_controller
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
..
authorization_test.exs Google APIs integration improvements (#2358) 4 years ago
browsers_test.exs Google APIs integration improvements (#2358) 4 years ago
cities_test.exs Google APIs integration improvements (#2358) 4 years ago
conversions_test.exs Google APIs integration improvements (#2358) 4 years ago
countries_test.exs Fix breakdown API pagination when using event metrics (#2562) 4 years ago
current_visitors_test.exs Google APIs integration improvements (#2358) 4 years ago
main_graph_test.exs Add support for intervals (#1574) 4 years ago
operating_systems_test.exs Google APIs integration improvements (#2358) 4 years ago
pages_test.exs Fix breakdown API pagination when using event metrics (#2562) 4 years ago
regions_test.exs Google APIs integration improvements (#2358) 4 years ago
screen_sizes_test.exs Google APIs integration improvements (#2358) 4 years ago
sources_test.exs Fix breakdown API pagination when using event metrics (#2562) 4 years ago
suggestions_test.exs Add API support for intervals (#2417) 4 years ago
top_stats_test.exs Google APIs integration improvements (#2358) 4 years ago