Implement the reproducibility status filter

On the derivation-outputs page.
This commit is contained in:
Christopher Baines 2019-12-14 17:10:23 +00:00
parent 4cc678dfb1
commit 9dddf2c606
3 changed files with 43 additions and 0 deletions

View file

@ -170,6 +170,8 @@
(parse-query-parameters
request
`((after_path ,identity)
(reproducibility_status ,identity
#:default "any")
(limit_results ,parse-result-limit
#:no-default-when (all_results)
#:default 100)
@ -620,6 +622,8 @@
(select-derivation-outputs-in-revision
conn
commit-hash
#:reproducibility-status
(assq-ref query-parameters 'reproducibility_status)
#:limit-results limit-results
#:after-path (assq-ref query-parameters 'after_path)))
(show-next-page?