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

Revisit query/restriction mechanism #61

Open
guzman-raphael opened this issue Feb 11, 2021 · 0 comments
Open

Revisit query/restriction mechanism #61

guzman-raphael opened this issue Feb 11, 2021 · 0 comments

Comments

@guzman-raphael
Copy link
Collaborator

guzman-raphael commented Feb 11, 2021

We should revisit the restriction mechanism to provide increased flexibility and simply its use.

Perhaps we might want to look into Lecene query syntax (same as used by GitHub). Taking a closer look at their GH API and combining into our requirements, it could look something like this.

query params

page=2
per_page=3
order=asc:student_id desc:student_enroll_date
q=-student_major:engineering OR student_enroll_date:[1612063661 TO 1613063661]

Just would need to be sure to encode properly using encodeURIComponent('-student:engineering ...')

Best to defer rework on this as not on critical path to upcoming milestones.

Also see this tutorial.

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

1 participant