/** * Gets the URL arguments to append to a list redirect. * * @return string The arguments to append to the redirect URL. * * @since 11.1 */ protected function getRedirectToItemAppend($recordId = null, $urlVar = 'id') { $append = parent::getRedirectToItemAppend($recordId, $urlVar); $gid = JRequest::getInt('filter_groupId'); if ($gid !== 0) { $append .= '&filter_groupId=' . $gid; } return $append; }
/** * Gets the URL arguments to append to a list redirect. * * @param int $recordId record id * @param string $urlVar url var * * @return string The arguments to append to the redirect URL. * * @since 11.1 */ protected function getRedirectToItemAppend($recordId = null, $urlVar = 'id') { $app = JFactory::getApplication(); $input = $app->input; $append = parent::getRedirectToItemAppend($recordId, $urlVar); $gid = $input->getInt('filter_groupId', 0); if ($gid !== 0) { $append .= '&filter_groupId=' . $gid; } return $append; }