From d83ca4456a139cc84ba7ace8a35fe6c1ec5c3d60 Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Fri, 6 Mar 2015 19:13:45 -0600 Subject: [PATCH] Fix bulk delete of batch rows. Actually I didn't see this fail, but I've seen one instance where someone else did. This should hopefully be a safe approach. --- tailbone/views/batch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tailbone/views/batch.py b/tailbone/views/batch.py index ce15223c..5c52a7f8 100644 --- a/tailbone/views/batch.py +++ b/tailbone/views/batch.py @@ -874,7 +874,7 @@ class BatchRowGrid(BaseGrid): """ Delete all rows matching the current row grid view query. """ - self.query().delete() + self.query().delete(synchronize_session=False) return HTTPFound(location=self.request.route_url( '{0}.view'.format(self.route_prefix), uuid=self.request.matchdict['uuid']))