Browse Source

Merge pull request #1451 from spastorino/fix-search-api

State: all is default on Github API
Santiago Pastorino 3 years ago
parent
commit
5a3461a78e
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/github.rs

+ 1 - 0
src/github.rs

@@ -865,6 +865,7 @@ impl Repository {
     ) -> String {
         let filters = filters
             .iter()
+            .filter(|&&(key, val)| !(key == "state" && val == "all"))
             .map(|(key, val)| format!("{}:{}", key, val))
             .chain(
                 include_labels