diff options
Diffstat (limited to 'application/modules/user/controllers/FilterController.php')
-rw-r--r-- | application/modules/user/controllers/FilterController.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/application/modules/user/controllers/FilterController.php b/application/modules/user/controllers/FilterController.php index b1bc84f..83ccdc4 100644 --- a/application/modules/user/controllers/FilterController.php +++ b/application/modules/user/controllers/FilterController.php @@ -48,7 +48,7 @@ class User_FilterController extends Zend_Controller_Action $this->view->notification = $pbsNotifier->notify('modify',$result); } - $filters = $this->filterMapper->findBy('groupID',$this->membership->getGroupID(),'priority','DESC'); + $filters = $this->filterMapper->findBy(array('groupID' => $this->membership->getGroupID()),true,'priority','DESC'); foreach($filters as $filter){ $ff = new Application_Model_Filter(); $ff->setOptions($filter); @@ -79,7 +79,7 @@ class User_FilterController extends Zend_Controller_Action $this->_redirect('/user'); $bmmapper = new Application_Model_BootMenuMapper(); - $result = $bmmapper->findBy('groupID',$this->membership->getGroupID(),true); + $result = $bmmapper->findBy(array('groupID' => $this->membership->getGroupID()),true); print_a($result); foreach($result as $rr){ @@ -158,7 +158,7 @@ class User_FilterController extends Zend_Controller_Action public function editfilterAction() { $bmmapper = new Application_Model_BootMenuMapper(); - $result = $bmmapper->findBy('groupID',$this->membership->getGroupID(),true); + $result = $bmmapper->findBy(array('groupID' => $this->membership->getGroupID()),true); foreach($result as $rr){ $bm = new Application_Model_BootMenu(); $bm->setOptions($rr); |