default Filter (for entering InfoLog) was not used

This commit is contained in:
Ralf Becker 2003-07-31 09:20:36 +00:00
parent 4e0a483462
commit db4fc5004b
2 changed files with 8 additions and 1 deletions

View File

@ -154,6 +154,10 @@
if (!is_array($values))
{
$values = array('nm' => $GLOBALS['phpgw']->session->appsession('session_data','infolog'));
if (isset($_GET['filter']))
{
$values['nm']['filter'] = $_GET['filter']; // infolog/index.php sets defaultFilter that way
}
}
else
{

View File

@ -20,6 +20,9 @@
);
include('../header.inc.php');
header('Location: '.$GLOBALS['phpgw']->link('/index.php','menuaction=infolog.uiinfolog.index'));
$GLOBALS['phpgw']->redirect_link('/index.php',array(
'menuaction' => 'infolog.uiinfolog.index',
'filter' => $GLOBALS['phpgw_info']['user']['preferences']['infolog']['defaultFilter']
));
$GLOBALS['phpgw']->common->phpgw_exit();
?>