aboutsummaryrefslogtreecommitdiff
path: root/guix-data-service/web
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2021-01-14 20:44:41 +0000
committerChristopher Baines <mail@cbaines.net>2021-01-14 20:44:41 +0000
commita88e9db1ff2e26b9aa56e782a6778a914f8a3eb6 (patch)
tree2fca9087b69ae75b533620e3abd57e14183aa141 /guix-data-service/web
parent10500700671fa0640665e244eeb40677f577c527 (diff)
downloaddata-service-a88e9db1ff2e26b9aa56e782a6778a914f8a3eb6.tar
data-service-a88e9db1ff2e26b9aa56e782a6778a914f8a3eb6.tar.gz
Fix issue with the system test comparison page
Diffstat (limited to 'guix-data-service/web')
-rw-r--r--guix-data-service/web/compare/html.scm5
1 files changed, 4 insertions, 1 deletions
diff --git a/guix-data-service/web/compare/html.scm b/guix-data-service/web/compare/html.scm
index 9fcd6a6..5b5fe0a 100644
--- a/guix-data-service/web/compare/html.scm
+++ b/guix-data-service/web/compare/html.scm
@@ -1233,7 +1233,10 @@ enough builds to determine a change")))
`(td (@ (rowspan 2))
,(render-location
target-git-repositories
- (assq-ref query-parameters 'target_commit)
+ (if (eq? mode 'revision)
+ (assq-ref query-parameters
+ 'target_commit)
+ (second target-revision-details))
location-data))
""))
(cons