diff options
author | Christopher Baines <mail@cbaines.net> | 2021-01-14 20:44:41 +0000 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2021-01-14 20:44:41 +0000 |
commit | a88e9db1ff2e26b9aa56e782a6778a914f8a3eb6 (patch) | |
tree | 2fca9087b69ae75b533620e3abd57e14183aa141 /guix-data-service/web | |
parent | 10500700671fa0640665e244eeb40677f577c527 (diff) | |
download | data-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.scm | 5 |
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 |