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

Sort problems and problemSets when retreiving from mongo #16

Open
MohamedBeydoun opened this issue May 22, 2020 · 2 comments · Fixed by #46
Open

Sort problems and problemSets when retreiving from mongo #16

MohamedBeydoun opened this issue May 22, 2020 · 2 comments · Fixed by #46
Assignees
Labels
enhancement New feature or request p1

Comments

@MohamedBeydoun
Copy link
Member

When retreiving documents from mongo, we can specify a field to sort by. In our case, we should sort by the most recently created problems/problemSets by default.

@MohamedBeydoun MohamedBeydoun added the enhancement New feature or request label May 22, 2020
@idodin
Copy link
Member

idodin commented Jun 2, 2020

Grabbing this for tomorrow if still not grabbed?

@MohamedBeydoun
Copy link
Member Author

@ahmed-elehwany Create an index on the field you use for sorting the entities

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request p1
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants