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 2016-08-12 11:50:15 -03:00
parent 6fad2c3f1f
commit a5cd01e6ec
1 changed files with 1 additions and 1 deletions

View File

@ -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