|
@@ -40,11 +40,11 @@ class RESTController extends VoryxController
|
|
|
{
|
|
|
$em = $this->getDoctrine()->getManager();
|
|
|
$filters = !is_null($paramFetcher->get('filters')) ? $paramFetcher->get('filters') : array();
|
|
|
- if (isset($filters['tenancy_id'])) {
|
|
|
+ if (isset($filters['tenancyId'])) {
|
|
|
// tengo que buscar por tenencia.
|
|
|
$tenancyService = $this->container->get('base_tenancy.tenancy_service');
|
|
|
- $tenancyService->setTenancy($filters['tenancy_id']);
|
|
|
- unset($filters['tenancy_id']);
|
|
|
+ $tenancyService->setTenancy($filters['tenancyId']);
|
|
|
+ unset($filters['tenancyId']);
|
|
|
}
|
|
|
if (isset($filters['qb-criteria'])) {
|
|
|
try {
|