Tweak how we connect a user to a batch, when refreshing.
This commit is contained in:
parent
f07518f939
commit
4713e25ffe
|
@ -602,7 +602,7 @@ class BatchCrud(BaseCrud):
|
||||||
if cognizer is not None:
|
if cognizer is not None:
|
||||||
batch.cognized_by = cognizer
|
batch.cognized_by = cognizer
|
||||||
else:
|
else:
|
||||||
batch.cognized_by = self.request.user
|
batch.cognized_by = session.merge(self.request.user)
|
||||||
|
|
||||||
def refresh_thread(self, batch_uuid, progress=None, cognizer_uuid=None, success_url=None):
|
def refresh_thread(self, batch_uuid, progress=None, cognizer_uuid=None, success_url=None):
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in a new issue