Laravel-5.6-and-Vue.j-2-Dataviewer-Advanced-Filter
Laravel-5.6-and-Vue.j-2-Dataviewer-Advanced-Filter copied to clipboard
Dataviewer - Advanced Filter
Bumps [laravel/framework](https://github.com/laravel/framework) from 5.6.18 to 5.8.38. Commits 78eb4da version fb968ef Add support for the new composer installed.json format (#32310) (#32328) ce08aae version 4436662 fix password check afcfcf2 Revert "Update SeeInOrder.php"...
Bumps [axios](https://github.com/axios/axios) from 0.18.0 to 0.21.1. Release notes Sourced from axios's releases. v0.21.1 0.21.1 (December 21, 2020) Fixes and Functionality: Hotfix: Prevent SSRF (#3410) Protocol not parsed when setting proxy...
In here ``` public function apply($query, $data) { if(isset($data['f'])) { foreach($data['f'] as $filter) { $filter['match'] = isset($filter['filter_match']) ? $ $filter['filter_match'] : 'and'; //here is the thing $this->makeFilter($query, $filter); } }...
Allow pass the columns as parameter to avoid selecting *. ``` public function scopeAdvancedFilter($query, $columns = []) { $result = $this->process($query, request()->all()); if (count($columns) > 0) { $result = $result->select($columns);...