Add config to allow for setting the queue names at runtime. Fix a bug in the data model.
This commit is contained in:
parent
61a6db236f
commit
4b8217d4ad
4 changed files with 8 additions and 5 deletions
|
@ -1527,7 +1527,7 @@ def list_logs(start_time, end_time, performer=None, repository=None, namespace=N
|
|||
joined = joined.where(LogEntry.performer == performer)
|
||||
|
||||
if namespace:
|
||||
joined = joined.where(User.username == namespace_name)
|
||||
joined = joined.where(User.username == namespace)
|
||||
|
||||
return joined.where(
|
||||
LogEntry.datetime >= start_time,
|
||||
|
|
Reference in a new issue