Don't assume all rows belong to a batch

whooops..
This commit is contained in:
Lance Edgar 2017-08-03 17:06:26 -05:00
parent f20a40e818
commit d1aaac5b16

View file

@ -1376,8 +1376,7 @@ class MasterView(View):
parent = self.get_parent(row)
return self.render_to_response('view_row', {
'instance': row,
'batch': row.batch,
'instance_title': self.get_instance_title(row.batch),
'instance_title': self.get_instance_title(parent),
'instance_url': self.get_action_url('view', parent),
'instance_editable': self.row_editable(row),
'instance_deletable': self.row_deletable(row),