Filter type Object
Filter type object is returned with filter
This commit is contained in:
parent
603b0c2d4b
commit
48b9122bcc
|
@ -314,6 +314,7 @@ class TAINACAN_REST_Filters_Controller extends TAINACAN_REST_Controller {
|
|||
|
||||
if($request['context'] === 'edit'){
|
||||
$item_arr['current_user_can_edit'] = $item->can_edit();
|
||||
$item_arr['filter_type_object'] = $item->get_filter_type_object();
|
||||
}
|
||||
|
||||
return $item_arr;
|
||||
|
|
Loading…
Reference in New Issue