Fixes #2277 - ordering of components works again
This commit is contained in:
@@ -44,7 +44,8 @@ class ApiController extends AbstractApiController
|
|||||||
$component->link,
|
$component->link,
|
||||||
$component->order,
|
$component->order,
|
||||||
$component->group_id,
|
$component->group_id,
|
||||||
$component->enabled
|
$component->enabled,
|
||||||
|
$component->meta
|
||||||
));
|
));
|
||||||
} catch (QueryException $e) {
|
} catch (QueryException $e) {
|
||||||
throw new BadRequestHttpException();
|
throw new BadRequestHttpException();
|
||||||
@@ -74,7 +75,8 @@ class ApiController extends AbstractApiController
|
|||||||
$component->link,
|
$component->link,
|
||||||
$order + 1,
|
$order + 1,
|
||||||
$component->group_id,
|
$component->group_id,
|
||||||
$component->enabled
|
$component->enabled,
|
||||||
|
$component->meta
|
||||||
));
|
));
|
||||||
} catch (QueryException $e) {
|
} catch (QueryException $e) {
|
||||||
throw new BadRequestHttpException();
|
throw new BadRequestHttpException();
|
||||||
|
|||||||
Reference in New Issue
Block a user