summaryrefslogtreecommitdiffstats
path: root/application/modules/user/controllers/ClientController.php
diff options
context:
space:
mode:
Diffstat (limited to 'application/modules/user/controllers/ClientController.php')
-rw-r--r--application/modules/user/controllers/ClientController.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/application/modules/user/controllers/ClientController.php b/application/modules/user/controllers/ClientController.php
index 2a57cf0..acb6a65 100644
--- a/application/modules/user/controllers/ClientController.php
+++ b/application/modules/user/controllers/ClientController.php
@@ -53,7 +53,9 @@ class User_ClientController extends Zend_Controller_Action
if($search != ''){
$this->view->search = $search;
$mySearch = new Pbs_Search();
- $clientsInGroup = $mySearch->search($clientsInGroup,$search);
+ $mySearch->setSearchTerm($search);
+ $clientsInGroup = $mySearch->search($clientsInGroup);
+ $this->view->searchterms = $mySearch->getSearchTerms();
}
// Pagination