Skip to content

Commit

Permalink
Update BaseApiController.php
Browse files Browse the repository at this point in the history
  • Loading branch information
hbraune authored Sep 15, 2016
1 parent 80a6b9c commit 58158a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Controller/BaseApiController.php
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,8 @@ protected function handleQuery(Request $request, QueryBuilder $qb, $resultsCallb
$filterConfig = null;
$orderConfig = null;

if($this->container->has('braune_digital_query_filter_bundle.manager')) {
$queryManager = $this->get('braune_digital_query_filter_bundle.manager');
if($this->container->has('bd_query_filter.query_manager')) {
$queryManager = $this->get('bd_query_filter.query_manager');
$filterConfig = json_decode($request->query->get('filter'), true);
$orderConfig = json_decode($request->query->get('order'), true);

Expand Down

0 comments on commit 58158a4

Please sign in to comment.