aboutsummaryrefslogtreecommitdiff
path: root/guix-data-service/web/jobs/controller.scm
diff options
context:
space:
mode:
Diffstat (limited to 'guix-data-service/web/jobs/controller.scm')
-rw-r--r--guix-data-service/web/jobs/controller.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/guix-data-service/web/jobs/controller.scm b/guix-data-service/web/jobs/controller.scm
index 949fac2..733fb35 100644
--- a/guix-data-service/web/jobs/controller.scm
+++ b/guix-data-service/web/jobs/controller.scm
@@ -64,11 +64,13 @@
(jobs (select-jobs-and-events
conn
(assq-ref query-parameters 'before_id)
- limit-results)))
+ limit-results))
+ (recent-events (select-recent-job-events conn)))
(render-html
#:sxml (view-jobs
query-parameters
jobs
+ recent-events
(and limit-results
(>= (length jobs)
limit-results))))))