mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-03 20:18:33 -05:00 
			
		
		
		
	Improve query filters
This commit is contained in:
		
							parent
							
								
									a0f27068ab
								
							
						
					
					
						commit
						a21b53bb7b
					
				@ -175,6 +175,8 @@ abstract class QueryFilters
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    public function is_deleted($value)
 | 
					    public function is_deleted($value)
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
 | 
					        if($value == 'true')
 | 
				
			||||||
 | 
					            return $this->builder->where('is_deleted', $value)->withTrashed();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        return $this->builder->where('is_deleted', $value);
 | 
					        return $this->builder->where('is_deleted', $value);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user