Fix row grid tools bug in batch view

This commit is contained in:
Lance Edgar 2016-11-06 20:52:47 -06:00
parent a51bf54e94
commit 5183184b16

View file

@ -354,7 +354,7 @@ class BatchMasterView(MasterView):
return HTML.tag('p', c=tags.link_to("Delete all rows matching current search", url))
def make_row_grid_tools(self, batch):
return self.make_default_row_grid_tools(obj) + self.make_batch_row_grid_tools(batch)
return (self.make_default_row_grid_tools(batch) or '') + (self.make_batch_row_grid_tools(batch) or '')
def redirect_after_edit(self, batch):
"""