public function resetFormUrl()
    {
        $params = Input::get();

        $fieldsToReset = [];
        foreach ($this->_columns as $columnData) {
            // Add each column to reset
            $column = new Column($columnData);
            $fieldsToReset[] = 'resource_table_'.$column->index();
        }

        // Now remove all fields to reset from GET query
        foreach ($fieldsToReset as $fieldName) {
            if (isset($params[$fieldName])) {
                unset($params[$fieldName]);
            }
        }

        return Request::url().'?'.http_build_query($params);
    }
public function resetFormUrl()
    {
        $params = Input::get();

        $fieldsToReset = [];
        foreach ($this->_columns as $columnData) {
            // Add each column to reset
            $column = new Column($columnData);
            $fieldsToReset[] = 'resource_table_'.$column->index();
        }

        // Now remove all fields to reset from GET query
        foreach ($fieldsToReset as $fieldName) {
            if (isset($params[$fieldName])) {
                unset($params[$fieldName]);
            }
        }

        return Request::url().'?'.http_build_query($params);
    }
public function resetFormUrl ( ) { $ params = Input :: get ( ) ; $ fieldsToReset = [ ] ; foreach ( $ this -> _columns as $ columnData ) { // Add each column to reset $ column = new Column ( $ columnData ) ; $ fieldsToReset [ ] = 'resource_table_' . $ column -> index ( ) ; } // Now remove all fields to reset from GET query foreach ( $ fieldsToReset as $ fieldName ) { if ( isset ( $ params [ $ fieldName ] ) ) { unset ( $ params [ $ fieldName ] ) ; } } return Request :: url ( ) . '?' . http_build_query ( $ params ) ; }
Returns URL to reset search form

@return string
Returns URL to reset search form