Brings name overriding back to filter-types... while we don't fix this.
This commit is contained in:
parent
b22d9b92d4
commit
c3bc4f6ab2
|
@ -59,6 +59,7 @@ class REST_Filter_Types_Controller extends REST_Controller {
|
||||||
$filter_type = new $name();
|
$filter_type = new $name();
|
||||||
|
|
||||||
$filter_arr = $filter_type->_toArray();
|
$filter_arr = $filter_type->_toArray();
|
||||||
|
$filter_arr['name'] = $item;
|
||||||
|
|
||||||
return $filter_arr;
|
return $filter_arr;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue