public function Edit() { $o_result_context = new ResultContext($this->request, 'ca_tour_stops', 'basic_search'); $va_cur_result = $o_result_context->getResultList(); $vn_id = $this->request->getParameter('stop_id', pInteger); if (is_array($va_cur_result) && !in_array($vn_id, $va_cur_result)) { // // Set "results list" navigation to all items in the same level as the currently selected item // $t_instance = new ca_list_items(); if (is_array($va_siblings = $t_instance->getHierarchySiblings($vn_id, array('idsOnly' => true)))) { $o_result_context->setResultList($va_siblings); $o_result_context->saveContext(); } } parent::Edit(); }