diff --git a/src/app/backend/controllers/CustomersController.php b/src/app/backend/controllers/CustomersController.php index b5824a1..fd098ed 100644 --- a/src/app/backend/controllers/CustomersController.php +++ b/src/app/backend/controllers/CustomersController.php @@ -18,6 +18,8 @@ class CustomersController extends \Phalcon\Mvc\Controller $search_name = $this->request->getPost('search_name', 'string', NULL); $search_phone = $this->request->getPost('search_phone', 'int', NULL); + $this->session->set('search_name', $search_name); + $this->session->set('search_phone', $search_phone); if (!empty($search_name)) { $data = $this->models->getCustomers()->getDataByName($search_name); $total = 1; diff --git a/src/app/backend/views/customers/index.php b/src/app/backend/views/customers/index.php index 250dd02..cab5ba6 100644 --- a/src/app/backend/views/customers/index.php +++ b/src/app/backend/views/customers/index.php @@ -13,8 +13,8 @@