diff --git a/src/app/backend/controllers/CustomersController.php b/src/app/backend/controllers/CustomersController.php index d4ea7b0..2c54704 100644 --- a/src/app/backend/controllers/CustomersController.php +++ b/src/app/backend/controllers/CustomersController.php @@ -19,6 +19,7 @@ class CustomersController extends \Phalcon\Mvc\Controller $search = $this->request->getPost('search', 'string', NULL); if (!empty($search)) { $data = $this->models->getCustomers()->getDataByName($page); + $total = 1; } else { $data = $this->models->getCustomers()->getAllData($page); -- libgit2 0.21.4