git ssb

0+

cel / ssb-issues



Commit 985736df8c6fff373c4b3e2f020991b272412418

Respect 'open' option in list()

Charles Lehner committed on 4/18/2016, 6:09:05 PM
Parent: 6265721f1afb89664116866cfab644d8e413a9cd

Files changed

index.jschanged
index.jsView
@@ -196,9 +196,12 @@
196196 && (!opts.author || opts.author == msg.value.author)
197197 }),
198198 paramap(function (msg, cb) {
199199 getIssue(msg.key, cb)
200- }, 8)
200+ }, 8),
201+ opts.open != null && pull.filter(function (pr) {
202+ return pr.open == opts.open
203+ })
201204 )
202205 }
203206
204207 function editIssue(id, opts, cb) {

Built with git-ssb-web