aboutsummaryrefslogtreecommitdiff
path: root/guix-data-service/web/compare/html.scm
diff options
context:
space:
mode:
Diffstat (limited to 'guix-data-service/web/compare/html.scm')
-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