This is an automated email from the ASF dual-hosted git repository. johnbodley pushed a commit to branch john-bodley--fix-sip-15-flash in repository https://gitbox.apache.org/repos/asf/incubator-superset.git
commit 276299985668704847f7ba13bbaca2a4e1130589 Author: John Bodley <[email protected]> AuthorDate: Wed Oct 30 00:08:40 2019 -0700 [fix] Time range endpoint encoding --- superset/views/core.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/superset/views/core.py b/superset/views/core.py index 01c0cdc..33d7ee7 100755 --- a/superset/views/core.py +++ b/superset/views/core.py @@ -1153,10 +1153,10 @@ class Superset(BaseSupersetView): and ( not form_data.get("time_range_endpoints") or form_data["time_range_endpoints"] - != ( + != [ utils.TimeRangeEndpoint.INCLUSIVE, utils.TimeRangeEndpoint.EXCLUSIVE, - ) + ] ) ): url = Href("/superset/explore/")( @@ -1164,10 +1164,10 @@ class Superset(BaseSupersetView): "form_data": json.dumps( { "slice_id": slc.id, - "time_range_endpoints": ( + "time_range_endpoints": [ utils.TimeRangeEndpoint.INCLUSIVE.value, utils.TimeRangeEndpoint.EXCLUSIVE.value, - ), + ], } ) }
