alitheg commented on code in PR #746:
URL: 
https://github.com/apache/tooling-trusted-releases/pull/746#discussion_r2834194181


##########
atr/admin/__init__.py:
##########
@@ -734,7 +734,10 @@ async def tasks_recent(session: web.Committer, minutes: 
int) -> str:
     async with db.session() as data:
         statement = (
             sqlmodel.select(sql.Task)
-            .where(via(sql.Task.added) >= cutoff, 
sqlalchemy.not_(via(sql.Task.scheduled) > now))
+            .where(
+                via(sql.Task.added) >= cutoff,
+                sqlalchemy.or_(sqlalchemy.not_(via(sql.Task.scheduled) > now), 
via(sql.Task.scheduled).is_(None)),
+            )

Review Comment:
   This was a bugfix - I noticed the recent task list was *only* displaying 
scheduled tasks past and future.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to