main/core/Controller/APINew/Tool/Workspace/LogController.php
private function getWorkspaceFilteredQuery(Request $request, Workspace $workspace)
    {
        $query = $request->query->all();
        $hiddenFilters = isset($query['hiddenFilters']) ? $query['hiddenFilters'] : [];
        $query['hiddenFilters'] = array_merge($hiddenFilters, ['workspace' => $workspace]);

        return $query;
    }
private function getWorkspaceFilteredQuery(Request $request, Workspace $workspace)
    {
        $query = $request->query->all();
        $hiddenFilters = isset($query['hiddenFilters']) ? $query['hiddenFilters'] : [];
        $query['hiddenFilters'] = array_merge($hiddenFilters, ['workspace' => $workspace]);

        return $query;
    }
private function getWorkspaceFilteredQuery ( Request $ request , Workspace $ workspace ) { $ query = $ request -> query -> all ( ) ; $ hiddenFilters = isset ( $ query [ 'hiddenFilters' ] ) ? $ query [ 'hiddenFilters' ] : [ ] ; $ query [ 'hiddenFilters' ] = array_merge ( $ hiddenFilters , [ 'workspace' => $ workspace ] ) ; return $ query ; }
Add workspace filter to request.

@param Request   $request
@param Workspace $workspace

@return array
Add workspace filter to request .