src/lib/TableFilter.php
public function getUrl($option)
    {
        if ($this->isActive($option)) {
            $params = $this->request->all();

            unset($params[$this->getKey()]);

            return '?'.http_build_query($params);
        }

        return '?'.http_build_query([$this->key => $option] + $this->request->all());
    }
public function getUrl($option)
    {
        if ($this->isActive($option)) {
            $params = $this->request->all();

            unset($params[$this->getKey()]);

            return '?'.http_build_query($params);
        }

        return '?'.http_build_query([$this->key => $option] + $this->request->all());
    }
public function getUrl ( $ option ) { if ( $ this -> isActive ( $ option ) ) { $ params = $ this -> request -> all ( ) ; unset ( $ params [ $ this -> getKey ( ) ] ) ; return '?' . http_build_query ( $ params ) ; } return '?' . http_build_query ( [ $ this -> key => $ option ] + $ this -> request -> all ( ) ) ; }
Return the URL parameter string to enable this filter.

@return string
Return the URL parameter string to enable this filter .