Fix `Taxes\Stats\Controller::get_collection_params`

remove lefover `$params` overwrite, let it use parent's one.
This commit is contained in:
Tomek Wytrębowicz 2023-05-01 21:46:12 +02:00
parent 2654d577c0
commit 766e19e109
1 changed files with 0 additions and 1 deletions

View File

@ -284,7 +284,6 @@ class Controller extends AbstractController {
*/
public function get_collection_params() {
$params = parent::get_collection_params();
$params = array();
$params['orderby']['enum'] = array(
'date',
'items_sold',