Improve filtering for no target
Previously, the select option label was empty that's not particularly informative. These changes also fix the next page link behaviour for the target parameter.
This commit is contained in:
parent
6ee9a674cd
commit
63d7af9340
1 changed files with 4 additions and 1 deletions
|
|
@ -185,6 +185,9 @@
|
|||
(#t "on")
|
||||
((? date? date)
|
||||
(date->string date "~1 ~3"))
|
||||
;; TODO Hardcoding none here is a bit of a hack, but it does make the
|
||||
;; Next page link work for revision derivations.
|
||||
("" "none")
|
||||
(other other)))
|
||||
|
||||
(string-join
|
||||
|
|
@ -231,7 +234,7 @@
|
|||
target))
|
||||
|
||||
(define (valid-targets->options targets)
|
||||
`(("" . "none")
|
||||
`(("(no target)" . "none")
|
||||
,@(map (lambda (target)
|
||||
(cons target target))
|
||||
targets)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue