Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixed 500 error when export dashboard (#2760)
https://github.com/airbnb/superset/blob/master/superset/views/core.py#L474 http://flask-appbuilder.readthedocs.io/en/latest/actions.html?highlight=action ``` @action("mulexport", __("Export"), __("Export dashboards?"), "fa-database") def mulexport(self, items): ids = ''.join('&id={}'.format(d.id) for d in items) ``` change to ``` @action("mulexport", __("Export"), __("Export dashboards?"), "fa-database") def mulexport(self, items): if not isinstance(items, list): items = [items] ids = ''.join('&id={}'.format(d.id) for d in items) ``` fixed: #2184 #2667
- Loading branch information