You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2021/07/01 21:41:37 UTC

[GitHub] [superset] vermilioncity opened a new issue #15515: Default to first item in filter hierarchy does not respect prior default hierarchy selections

vermilioncity opened a new issue #15515:
URL: https://github.com/apache/superset/issues/15515


   Suppose you have a hierarchy of Animal -> Breed, and Breed is set to default to the first option.
   
   Unfiltered, the first value of Breed is Abruzzenhund, a dog breed. 
   
   However, species is set to a default value of "Cat".  The expected behavior is that the first default value for Breed should be Abyssian, a cat breed, but Abruzzenhund appears instead.   This means the dashboard shows no data.
   
   ### Expected results
   The default selections in a hierarchy should influence the first item of filters below.
   
   ### Actual results
   The first item displayed ignores the default values of parent filters.
   
   #### How to reproduce the bug
   
   1. Create two filters.  Set the first to have a default value of some kind
   2.  Set the second filter to be a child of the first, and set it to default to the first item
   3. Load the dashboard and see the first item may well not be logical
   
   ### Environment
   
   - superset version: 1.3 branch
   - python version: Python 3.7.9
   - node.js version: 14
   
   ### Checklist
   
   Make sure to follow these steps before submitting your issue - thank you!
   
   - [x] I have checked the superset logs for python stacktraces and included it here as text if there are any.
   - [x] I have reproduced the issue with at least the latest released version of superset.
   - [x] I have checked the issue tracker for the same issue and I haven't found one similar.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] vermilioncity commented on issue #15515: Default to first item in filter hierarchy does not respect prior default hierarchy selections

Posted by GitBox <gi...@apache.org>.
vermilioncity commented on issue #15515:
URL: https://github.com/apache/superset/issues/15515#issuecomment-872569000


   @amitmiran137 not sure if this can be fixed for 1.3, but if it can, that would be super helpful!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org