fix: detach row from batch when removing
This commit is contained in:
parent
48f9374724
commit
0bb0a51f32
|
@ -328,6 +328,8 @@ class BatchHandler(GenericHandler):
|
||||||
deletes the row.
|
deletes the row.
|
||||||
"""
|
"""
|
||||||
session = self.app.get_session(row)
|
session = self.app.get_session(row)
|
||||||
|
batch = row.batch
|
||||||
|
batch.rows.remove(row)
|
||||||
session.delete(row)
|
session.delete(row)
|
||||||
|
|
||||||
def refresh_batch_status(self, batch):
|
def refresh_batch_status(self, batch):
|
||||||
|
|
Loading…
Reference in a new issue