From 08ca82ea2cb2fb6d2bfa7f753943307a968892b3 Mon Sep 17 00:00:00 2001 From: James Brooks Date: Mon, 26 Dec 2016 12:25:01 +0000 Subject: [PATCH] Fixes #2277 - ordering of components works again --- 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 d838bad8..310e46a7 100644 --- a/app/Http/Controllers/Dashboard/ApiController.php +++ b/app/Http/Controllers/Dashboard/ApiController.php @@ -44,7 +44,8 @@ class ApiController extends AbstractApiController $component->link, $component->order, $component->group_id, - $component->enabled + $component->enabled, + $component->meta )); } catch (QueryException $e) { throw new BadRequestHttpException(); @@ -74,7 +75,8 @@ class ApiController extends AbstractApiController $component->link, $order + 1, $component->group_id, - $component->enabled + $component->enabled, + $component->meta )); } catch (QueryException $e) { throw new BadRequestHttpException();