src/Requests/FilterRequest.php
public function setCriteriaByQueryString()
    {
    	if ($this->request->method() != 'GET') {
    		return $this;
    	}
    	
        $data = $this->request->except(RequestReservedWords::all());
        
        $request = $this->request->all();
        foreach ($data as $k => $v) {
            if (is_array($v)) {
                break;
            }
            
            if (strpos($k, ':')) {
                $k = str_replace(':', '.', $k);
            }
            $request['criteria'][] = $k . ',=,' . $v;
        }
        
        $this->request->merge($request);
        
        return $this;
    }
public function setCriteriaByQueryString()
    {
    	if ($this->request->method() != 'GET') {
    		return $this;
    	}
    	
        $data = $this->request->except(RequestReservedWords::all());
        
        $request = $this->request->all();
        foreach ($data as $k => $v) {
            if (is_array($v)) {
                break;
            }
            
            if (strpos($k, ':')) {
                $k = str_replace(':', '.', $k);
            }
            $request['criteria'][] = $k . ',=,' . $v;
        }
        
        $this->request->merge($request);
        
        return $this;
    }
public function setCriteriaByQueryString ( ) { if ( $ this -> request -> method ( ) != 'GET' ) { return $ this ; } $ data = $ this -> request -> except ( RequestReservedWords :: all ( ) ) ; $ request = $ this -> request -> all ( ) ; foreach ( $ data as $ k => $ v ) { if ( is_array ( $ v ) ) { break ; } if ( strpos ( $ k , ':' ) ) { $ k = str_replace ( ':' , '.' , $ k ) ; } $ request [ 'criteria' ] [ ] = $ k . ',=,' . $ v ; } $ this -> request -> merge ( $ request ) ; return $ this ; }
Seta os filtros não enviados por criteria

@return this
Seta os filtros não enviados por criteria