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

Refactor getting filters #51

Closed
keiranjprice101 opened this issue Sep 10, 2019 · 0 comments · Fixed by #57
Closed

Refactor getting filters #51

keiranjprice101 opened this issue Sep 10, 2019 · 0 comments · Fixed by #57
Labels

Comments

@keiranjprice101
Copy link
Collaborator

Currently there is a lot of unnecessary duplication with filtering. The factory method is called in a lot of places. It could alternatively be used once when the filters are taken from the query strings.

The filter handler could also be given a method to take in a list of filters instead of looping through the filters and adding them separately (which is currently done in a lot of places)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant