From 1e5696d218baae3863bd04ca4c3b8d9b38a7288e Mon Sep 17 00:00:00 2001 From: James Brooks Date: Thu, 9 Feb 2017 14:48:34 +0000 Subject: [PATCH] Fixes #2365 --- app/Http/Controllers/Dashboard/ApiController.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/Http/Controllers/Dashboard/ApiController.php b/app/Http/Controllers/Dashboard/ApiController.php index 310e46a7..ee08eefd 100644 --- a/app/Http/Controllers/Dashboard/ApiController.php +++ b/app/Http/Controllers/Dashboard/ApiController.php @@ -45,7 +45,8 @@ class ApiController extends AbstractApiController $component->order, $component->group_id, $component->enabled, - $component->meta + $component->meta, + false, )); } catch (QueryException $e) { throw new BadRequestHttpException(); @@ -76,7 +77,8 @@ class ApiController extends AbstractApiController $order + 1, $component->group_id, $component->enabled, - $component->meta + $component->meta, + true )); } catch (QueryException $e) { throw new BadRequestHttpException();