Browse Source

FIX: Non-db action dictionaries should provide either multiple view modes or a single view mode and an optional view id.

pull/405/head
Iván Todorovich 8 years ago
parent
commit
a5cd01e6ec
  1. 2
      web_dashboard_tile/models/tile_tile.py

2
web_dashboard_tile/models/tile_tile.py

@ -138,7 +138,7 @@ class TileTile(models.Model):
} }
if self.action_id: if self.action_id:
res.update(self.action_id.read( res.update(self.action_id.read(
['view_type', 'view_mode', 'view_id', 'type'])[0])
['view_type', 'view_mode', 'type'])[0])
# FIXME: restore original Domain + Filter would be better # FIXME: restore original Domain + Filter would be better
return res return res

Loading…
Cancel
Save