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

Add material sort/filter functionality to find all (GET /materials) #44

Closed
diogotcorreia opened this issue Dec 14, 2020 · 0 comments · Fixed by #63
Closed

Add material sort/filter functionality to find all (GET /materials) #44

diogotcorreia opened this issue Dec 14, 2020 · 0 comments · Fixed by #63
Assignees
Labels
backend enhancement New feature or request
Milestone

Comments

@diogotcorreia
Copy link
Member

The material's find all endpoint (GET /materials) should have parameters to filter the response:

  • query: full text search (name and description)
  • status: by default, hide retired items
  • limit: max number of entries to return
  • start: skip X items on search (for pagination)
  • sort: should have the format key:<asc/dsc>
@diogotcorreia diogotcorreia added this to the Sprint 4 milestone Dec 14, 2020
@diogotcorreia diogotcorreia added the enhancement New feature or request label Dec 14, 2020
@diogotcorreia diogotcorreia changed the title Add material sort functionality to find all (GET /materials) Add material sort/filter functionality to find all (GET /materials) Dec 14, 2020
@diogotcorreia diogotcorreia self-assigned this Dec 23, 2020
diogotcorreia added a commit that referenced this issue Dec 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant