[FIX] ServicesController: query assessment_responses reale + NonConformityController: getPagination named keys
This commit is contained in:
@@ -60,8 +60,10 @@ class NonConformityController extends BaseController
|
||||
$this->requireOrgAccess();
|
||||
$orgId = $this->getCurrentOrgId();
|
||||
|
||||
[$page, $perPage] = $this->getPagination();
|
||||
$offset = ($page - 1) * $perPage;
|
||||
$pagination = $this->getPagination();
|
||||
$page = $pagination['page'];
|
||||
$perPage = $pagination['per_page'];
|
||||
$offset = $pagination['offset'];
|
||||
|
||||
// Filters
|
||||
$where = 'n.organization_id = ?';
|
||||
|
||||
Reference in New Issue
Block a user