Allow master view to decide whether each grid checkbox is checked

aka. un-break what the v3 grids broke..
This commit is contained in:
Lance Edgar 2017-07-26 17:10:09 -05:00
parent f1bb603f93
commit 39cf32bb0a
2 changed files with 5 additions and 8 deletions

View file

@ -258,6 +258,7 @@ class MasterView2(MasterView):
'url': lambda obj: self.get_action_url('view', obj),
'checkboxes': self.checkboxes or (
self.mergeable and self.request.has_perm('{}.merge'.format(self.get_permission_prefix()))),
'checked': self.checked,
}
if 'main_actions' not in kwargs and 'more_actions' not in kwargs:
main, more = self.get_grid_actions()