michalgala commented on issue #20042:
URL: https://github.com/apache/superset/issues/20042#issuecomment-1126155611

   In  /superset-src/superset/jinja_context.py
   In the functions filter_values and get_filters, there is a if with a 
validation that fails when the value is 0:
   
   get_filters()
   ```
               if (
                   flt.get("expressionType") == "SIMPLE"
                   and flt.get("clause") == "WHERE"
                   and flt.get("subject") == column
                   and val
               ):
   ```
   
   filet_values()
   ```
               if isinstance(val, list):
                   return_val.extend(val)
               elif val:
                   return_val.append(val)
   ```
   
   
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to