-
Notifications
You must be signed in to change notification settings - Fork 16
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
Inline filter forms #817
Inline filter forms #817
Conversation
@casey1173 I'll review today - would you like to make the edits to use the updated version beforehand? |
yeah sure! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A couple thoughts from looking through things, generally wondering if we can mirror the django CBV concepts
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A couple thoughts from looking through things, generally wondering if we can mirror the django CBV concepts
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! Excited to get this in and update our existing forms to these nice inline ones.
@@ -102,6 +102,16 @@ def get_queryset(self): | |||
.order_by("study__short_citation", "type") | |||
) | |||
|
|||
def get_filterset_form_kwargs(self): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice example of the benefits of they dynamic fields
Adds inline and expandable filter forms, lifted from previous work on LLR/HERO.
Before:
Collapsed

Expanded

After:
Collapsed

Expanded
