main/core/Controller/APINew/Resource/LogController.php
private function getResourceNodeFilteredQuery(Request $request, ResourceNode $node)
    {
        $query = $request->query->all();
        $hiddenFilters = isset($query['hiddenFilters']) ? $query['hiddenFilters'] : [];
        $query['hiddenFilters'] = array_merge($hiddenFilters, ['resourceNode' => $node]);

        return $query;
    }
private function getResourceNodeFilteredQuery(Request $request, ResourceNode $node)
    {
        $query = $request->query->all();
        $hiddenFilters = isset($query['hiddenFilters']) ? $query['hiddenFilters'] : [];
        $query['hiddenFilters'] = array_merge($hiddenFilters, ['resourceNode' => $node]);

        return $query;
    }
private function getResourceNodeFilteredQuery ( Request $ request , ResourceNode $ node ) { $ query = $ request -> query -> all ( ) ; $ hiddenFilters = isset ( $ query [ 'hiddenFilters' ] ) ? $ query [ 'hiddenFilters' ] : [ ] ; $ query [ 'hiddenFilters' ] = array_merge ( $ hiddenFilters , [ 'resourceNode' => $ node ] ) ; return $ query ; }
Add resource node filter to request.

@param Request      $request
@param ResourceNode $node

@return array
Add resource node filter to request .