-
Notifications
You must be signed in to change notification settings - Fork 2
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
Fixed cascade logic for dropdown options filtering #30
Conversation
After killing pg4admin processes I had on port 5432 and then running docker-compose.yaml (my local database is now able to use 5432:5432) and then running evagram-input, I'm able to see the new input data. Bugfix works on my end. Excellent work! |
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 few overall comments that may not be immediately relevant to the bugfix:
- First of all, great work on fixing this bug!
- Please add """ docstrings to every function.
- Some of the functions here are helpers, not "views" themselves. Namely everything from
get_owners
and beyond. Would it be appropriate to import them from a newutil
module? I want to keep theviews
as minimal as possible.
That sounds like a good idea! Where would the |
@brandonzhu09 Should it go in |
Description
Bugfix for improper cascading logic when listing the valid dropdown options in the data viewer. Resolved this issue by applying the correct number of filters at each update option event in the backend.
Resolves issue GEOS-ESM/evagram_input#9.
As shown in the image, there are no longer groups that do not belong to the variable as well as the owner, experiment, and observation associated with it.