aboutsummaryrefslogtreecommitdiff
path: root/guix-data-service/web
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2020-06-20 18:56:25 +0100
committerChristopher Baines <mail@cbaines.net>2020-06-20 18:56:25 +0100
commit94cad47b828096e3060b49c2b059047324695873 (patch)
treec78c2b0718567587bbc5ad8b7b3e2eb96686c47d /guix-data-service/web
parent9e93b2b3a8450ff9bc08ec4ca61bde925f1378d7 (diff)
downloaddata-service-94cad47b828096e3060b49c2b059047324695873.tar
data-service-94cad47b828096e3060b49c2b059047324695873.tar.gz
Add missing locale parameter to the latest revision packages page
Diffstat (limited to 'guix-data-service/web')
-rw-r--r--guix-data-service/web/repository/controller.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/guix-data-service/web/repository/controller.scm b/guix-data-service/web/repository/controller.scm
index 67b6194..6a6d445 100644
--- a/guix-data-service/web/repository/controller.scm
+++ b/guix-data-service/web/repository/controller.scm
@@ -172,7 +172,8 @@
(guard-against-mutually-exclusive-query-parameters
(parse-query-parameters
request
- `((after_name ,identity)
+ `((locale ,identity #:default "en_US.utf8")
+ (after_name ,identity)
(field ,identity #:multi-value
#:default ("version" "synopsis"))
(search_query ,identity)