[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
10/10: Fix the JSON link on the compare package derivations page
From: |
Christopher Baines |
Subject: |
10/10: Fix the JSON link on the compare package derivations page |
Date: |
Sat, 21 Nov 2020 16:11:46 -0500 (EST) |
cbaines pushed a commit to branch master
in repository data-service.
commit e93da1ae8fa745fb792e39381af09482d9986b14
Author: Christopher Baines <mail@cbaines.net>
AuthorDate: Sat Nov 21 21:10:33 2020 +0000
Fix the JSON link on the compare package derivations page
---
guix-data-service/web/compare/html.scm | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/guix-data-service/web/compare/html.scm
b/guix-data-service/web/compare/html.scm
index 993137e..b2325ee 100644
--- a/guix-data-service/web/compare/html.scm
+++ b/guix-data-service/web/compare/html.scm
@@ -785,7 +785,11 @@ enough builds to determine a change")))
(href ,(let ((query-parameter-string
(query-parameters->string query-parameters)))
(string-append
- "/compare/package-derivations.json"
+ "/"
+ (cond
+ ((eq? mode 'revision) "compare")
+ ((eq? mode 'datetime) "compare-by-datetime"))
+ "/package-derivations.json"
(if (string-null? query-parameter-string)
""
(string-append "?" query-parameter-string))))))
- branch master updated (3e15900 -> e93da1a), Christopher Baines, 2020/11/21
- 01/10: Avoid crashing when no compare arguments are provided, Christopher Baines, 2020/11/21
- 04/10: Improve the comparison page interface, Christopher Baines, 2020/11/21
- 02/10: Avoid errors in form-horizontal-control, Christopher Baines, 2020/11/21
- 03/10: Specify an invalid parameter message in parse-datetime, Christopher Baines, 2020/11/21
- 05/10: Add default datetimes for compare-by-datetime, Christopher Baines, 2020/11/21
- 06/10: Fix some links on the compare page, Christopher Baines, 2020/11/21
- 09/10: Consolidate the package derivation comparison code, Christopher Baines, 2020/11/21
- 08/10: Start merging the package derivation comparison code, Christopher Baines, 2020/11/21
- 07/10: Extract out the compare form controls, Christopher Baines, 2020/11/21
- 10/10: Fix the JSON link on the compare package derivations page,
Christopher Baines <=