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

Denormalize averageRating and bookmarksCount for API Backends #1130

Closed
brylie opened this issue Jun 13, 2016 · 2 comments
Closed

Denormalize averageRating and bookmarksCount for API Backends #1130

brylie opened this issue Jun 13, 2016 · 2 comments
Assignees
Milestone

Comments

@brylie
Copy link
Contributor

brylie commented Jun 13, 2016

In order to sort the API Catalogue by average rating and bookmarks count, we may need to store the corresponding values in the ApiBackends collection. Create helpers and methods to calculate the average rating and bookmarks count. Make sure the helpers are called when a user bookmarks or rates an API Backend.

@bajiat
Copy link
Contributor

bajiat commented Jun 13, 2016

@brylie Should I close #1128 as duplicate?

@brylie
Copy link
Contributor Author

brylie commented Jun 13, 2016

Jep. I didn't notice that you had opened the issue.

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

No branches or pull requests

3 participants