소스 검색

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

State: all is default on Github API
Santiago Pastorino 3 년 전
부모
커밋
5a3461a78e
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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