Commit 98133ab82e03d2ed8db825fa55a31bb953d96430

Authored by Alex Savenko
1 parent 6aa349e8

getDataByName fix

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/app/backend/controllers/CustomersController.php
... ... @@ -18,7 +18,7 @@ class CustomersController extends \Phalcon\Mvc\Controller
18 18  
19 19 $search = $this->request->getPost('search', 'string', NULL);
20 20 if (!empty($search)) {
21   - $data = $this->models->getCustomers()->getDataByName($page);
  21 + $data = $this->models->getCustomers()->getDataByName($search);
22 22 $total = 1;
23 23 }
24 24 else {
... ...