public function onPostSearchQueryBuilder(GenericEvent $event)
    {
        $queryBuilder = $event->getArgument('query_builder');

        if ($event->hasArgument('request')) {
            $this->applyRequestFilters($queryBuilder, $event->getArgument('request')->get('filters', []));
        }
    }
public function onPostSearchQueryBuilder(GenericEvent $event)
    {
        $queryBuilder = $event->getArgument('query_builder');

        if ($event->hasArgument('request')) {
            $this->applyRequestFilters($queryBuilder, $event->getArgument('request')->get('filters', []));
        }
    }
public function onPostSearchQueryBuilder ( GenericEvent $ event ) { $ queryBuilder = $ event -> getArgument ( 'query_builder' ) ; if ( $ event -> hasArgument ( 'request' ) ) { $ this -> applyRequestFilters ( $ queryBuilder , $ event -> getArgument ( 'request' ) -> get ( 'filters' , [ ] ) ) ; } }
Called on POST_SEARCH_QUERY_BUILDER event.

@param GenericEvent $event
Called on POST_SEARCH_QUERY_BUILDER event .