Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Send all allowed params from the viz API to the viz presenter #15349

Merged
merged 7 commits into from
Jan 2, 2020

Conversation

alrocar
Copy link
Contributor

@alrocar alrocar commented Dec 26, 2019

Related to https://github.com/CartoDB/support/issues/2291

I checked we were counting the number of likes for every visualization because it wasn't taking into account the show_likes=false parameters. At the same time I improved a little bit the method to build the options for the VisualizationPresenter which in the end turns out it's not just a presenter but it does queries to the database 🤷‍♂

Copy link
Contributor

@gonzaloriestra gonzaloriestra left a comment

Choose a reason for hiding this comment

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

👌

app/controllers/carto/api/visualization_searcher.rb Outdated Show resolved Hide resolved
honor review
@gonzaloriestra
Copy link
Contributor

retest this please

@gonzaloriestra
Copy link
Contributor

✔️ Acceptance OK

@gonzaloriestra gonzaloriestra merged commit 43b8181 into master Jan 2, 2020
@gonzaloriestra gonzaloriestra deleted the 2291_support branch January 2, 2020 10:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants