Skip to content

Conversation

@edwardgou-sentry
Copy link
Contributor

Allows users to sort when calling the events-geo endpoint. Will be using this to sort world map queries by value for rendering their previews in sorted bar chart form.

@edwardgou-sentry edwardgou-sentry requested a review from a team October 26, 2021 14:46
@edwardgou-sentry edwardgou-sentry requested a review from a team as a code owner October 26, 2021 14:46
limit=limit,
referrer=referrer,
use_aggregate_conditions=True,
orderby=self.get_orderby(request),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we default an orderby here if the user doesn't supply one?

@edwardgou-sentry
Copy link
Contributor Author

We are favouring World Map previews over Bar Chart so there is no longer a use case for this, closing this pr for now. @wmak

@edwardgou-sentry
Copy link
Contributor Author

Discussed with team, this is still useful since we want results to be ordered anyways 😃 reopening

@edwardgou-sentry edwardgou-sentry merged commit e62af4c into master Oct 27, 2021
@edwardgou-sentry edwardgou-sentry deleted the feat/discover-events-geo-sort branch October 27, 2021 16:44
@github-actions github-actions bot locked and limited conversation to collaborators Nov 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants