/** * Get the filter to use with the model for searching including model sorts, etc.. * * @param boolean $useRequest Use the request as source (when false, the session is used) * @return array or false */ public function getSearchFilter($useRequest = true) { $filter = parent::getSearchFilter($useRequest); if (isset($filter['org']) && strlen($filter['org'])) { $filter[] = 'gtr_organizations LIKE "%|' . $filter['org'] . '|%"'; unset($filter['org']); } return $filter; }
/** * Action for showing an item page */ public function showAction() { $this->showSnippets = $this->getTrackEngine()->getRoundShowSnippetNames(); return parent::showAction(); }