|  | @@ -644,10 +644,7 @@ impl Repository {
 | 
	
		
			
				|  |  |              ..
 | 
	
		
			
				|  |  |          } = query;
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -        let use_issues = exclude_labels.is_empty()
 | 
	
		
			
				|  |  | -            && filters
 | 
	
		
			
				|  |  | -                .iter()
 | 
	
		
			
				|  |  | -                .all(|&(key, _)| key != "no" && key != "closed-days-ago");
 | 
	
		
			
				|  |  | +        let use_issues = exclude_labels.is_empty() || filters.iter().any(|&(key, _)| key == "no");
 | 
	
		
			
				|  |  |          // negating filters can only be handled by the search api
 | 
	
		
			
				|  |  |          let url = if use_issues {
 | 
	
		
			
				|  |  |              self.build_issues_url(filters, include_labels)
 | 
	
	
		
			
				|  | @@ -708,15 +705,7 @@ impl Repository {
 | 
	
		
			
				|  |  |      ) -> String {
 | 
	
		
			
				|  |  |          let filters = filters
 | 
	
		
			
				|  |  |              .iter()
 | 
	
		
			
				|  |  | -            .map(|(key, val)| {
 | 
	
		
			
				|  |  | -                if *key == "closed-days-ago" {
 | 
	
		
			
				|  |  | -                    let last_week =
 | 
	
		
			
				|  |  | -                        Utc::now() - chrono::Duration::days(val.parse::<i64>().unwrap());
 | 
	
		
			
				|  |  | -                    format!("closed:>={}", last_week.format("%Y-%m-%d"))
 | 
	
		
			
				|  |  | -                } else {
 | 
	
		
			
				|  |  | -                    format!("{}:{}", key, val)
 | 
	
		
			
				|  |  | -                }
 | 
	
		
			
				|  |  | -            })
 | 
	
		
			
				|  |  | +            .map(|(key, val)| format!("{}:{}", key, val))
 | 
	
		
			
				|  |  |              .chain(
 | 
	
		
			
				|  |  |                  include_labels
 | 
	
		
			
				|  |  |                      .iter()
 |