-
Notifications
You must be signed in to change notification settings - Fork 4
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
Labels
Comments
keiranjprice101
added a commit
that referenced
this issue
Sep 11, 2019
keiranjprice101
added a commit
that referenced
this issue
Sep 11, 2019
keiranjprice101
added a commit
that referenced
this issue
Sep 11, 2019
keiranjprice101
added a commit
that referenced
this issue
Sep 11, 2019
keiranjprice101
added a commit
that referenced
this issue
Sep 11, 2019
Merged
keiranjprice101
added a commit
that referenced
this issue
Sep 12, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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)
The text was updated successfully, but these errors were encountered: