public function filter()
    {
        $this->updateFilters()
             ->checkActivePage();

        $previousUrl = app('url')->previous();
        $previousUrl = $this->removePageQueryFromUrl($previousUrl);

        return redirect()->to($previousUrl);
    }
public function filter()
    {
        $this->updateFilters()
             ->checkActivePage();

        $previousUrl = app('url')->previous();
        $previousUrl = $this->removePageQueryFromUrl($previousUrl);

        return redirect()->to($previousUrl);
    }
public function filter ( ) { $ this -> updateFilters ( ) -> checkActivePage ( ) ; $ previousUrl = app ( 'url' ) -> previous ( ) ; $ previousUrl = $ this -> removePageQueryFromUrl ( $ previousUrl ) ; return redirect ( ) -> to ( $ previousUrl ) ; }
Applies posted filters.

@return mixed
Applies posted filters .