Differentiate filtering better for select-derivations-and-build-status
An empty list of derivation-file-names should result in no results, but in the case of the systems, targets and build-statuses, we want all of the results.
This commit is contained in:
parent
5be4ebca0c
commit
daa2790f59
2 changed files with 4 additions and 4 deletions
|
|
@ -478,7 +478,7 @@ ORDER BY derivations.system DESC,
|
|||
(string-join
|
||||
(filter-map
|
||||
(lambda (field values)
|
||||
(if (and values (not (null? values)))
|
||||
(if values
|
||||
(string-append
|
||||
field " IN ("
|
||||
(string-join (map (lambda (value)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue