Added metric visibility options. Closes #2244
This commit is contained in:
@@ -86,7 +86,8 @@ class MetricController extends AbstractApiController
|
||||
Binput::get('places', 2),
|
||||
Binput::get('default_view', Binput::get('view', 1)),
|
||||
Binput::get('threshold', 5),
|
||||
Binput::get('order', 0)
|
||||
Binput::get('order', 0),
|
||||
Binput::get('visible', 1)
|
||||
));
|
||||
} catch (QueryException $e) {
|
||||
throw new BadRequestHttpException();
|
||||
@@ -116,7 +117,8 @@ class MetricController extends AbstractApiController
|
||||
Binput::get('places'),
|
||||
Binput::get('default_view', Binput::get('view')),
|
||||
Binput::get('threshold'),
|
||||
Binput::get('order')
|
||||
Binput::get('order'),
|
||||
Binput::get('visible')
|
||||
));
|
||||
} catch (QueryException $e) {
|
||||
throw new BadRequestHttpException();
|
||||
|
||||
Reference in New Issue
Block a user