Fix `Taxes\Stats\Controller::get_collection_params`
remove lefover `$params` overwrite, let it use parent's one.
This commit is contained in:
parent
2654d577c0
commit
766e19e109
|
@ -284,7 +284,6 @@ class Controller extends AbstractController {
|
||||||
*/
|
*/
|
||||||
public function get_collection_params() {
|
public function get_collection_params() {
|
||||||
$params = parent::get_collection_params();
|
$params = parent::get_collection_params();
|
||||||
$params = array();
|
|
||||||
$params['orderby']['enum'] = array(
|
$params['orderby']['enum'] = array(
|
||||||
'date',
|
'date',
|
||||||
'items_sold',
|
'items_sold',
|
||||||
|
|
Loading…
Reference in New Issue