This commit is contained in:
burnettk 2022-10-03 20:06:23 -04:00
parent 9abc356a69
commit 563bdd7f3b
1 changed files with 3 additions and 1 deletions

View File

@ -404,7 +404,9 @@ def process_instance_log_list(
SpiffLoggingModel.process_instance_id == process_instance.id SpiffLoggingModel.process_instance_id == process_instance.id
) )
.order_by(SpiffLoggingModel.timestamp.desc()) # type: ignore .order_by(SpiffLoggingModel.timestamp.desc()) # type: ignore
.join(UserModel, isouter=True) # isouter since if we don't have a user, we still want the log .join(
UserModel, isouter=True
) # isouter since if we don't have a user, we still want the log
.add_columns( .add_columns(
UserModel.username, UserModel.username,
) )