public function executeContactList(sfWebRequest $request) { $this->checkProcess($request); $nameQuery = $this->registration->getFullName(); $nameQuery = aZendSearch::luceneRemoveSpecialchars( $nameQuery ); $this->luceneQuery = ($request->getParameter('query')) ? $request->getParameter('query') : $nameQuery; // $this->luceneQuery = ($this->luceneQuery == '') ? null : $this->luceneQuery; $this->query = $this->luceneQuery; //$this->luceneQuery = $this->registration->getFirstname(); $this->pager = $this->contact_getPager(); $this->contacts = $this->contact_buildQuery()->execute() ; $this->setTemplate('1_contactList'); }