r27408 - /trunk/infolog/inc/class.infolog_ui.inc.php

View: New views
1 Messages — Rating Filter:   Alert me  

r27408 - /trunk/infolog/inc/class.infolog_ui.inc.php

by leithoff :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message

Author: leithoff
Date: Thu Jul  9 14:14:35 2009
New Revision: 27408

URL: http://www.egroupware.org/viewvc/egroupware?rev=27408&view=rev
Log:
preserve the col_filter within the active session

Modified:
    trunk/infolog/inc/class.infolog_ui.inc.php

Modified: trunk/infolog/inc/class.infolog_ui.inc.php
URL: http://www.egroupware.org/viewvc/egroupware/trunk/infolog/inc/class.infolog_ui.inc.php?rev=27408&r1=27407&r2=27408&view=diff
==============================================================================
--- trunk/infolog/inc/class.infolog_ui.inc.php (original)
+++ trunk/infolog/inc/class.infolog_ui.inc.php Thu Jul  9 14:14:35 2009
@@ -478,6 +478,8 @@
  $action = $session['action'];
  $action_id = $session['action_id'];
  $action_title = $session['action_title'];
+ // no action -> try to restore the previous colfilter
+ $colfilter = $session['col_filter'];
  unset($session);
  }
  }
@@ -581,6 +583,7 @@
 
  $this->tmpl->read('infolog.index');
 
+ if ($colfilter) $values['nm']['col_filter'] = $persist['col_filter'] = $colfilter;
  $values['nm']['options-filter'] = $this->filters;
  $values['nm']['get_rows'] = 'infolog.infolog_ui.get_rows';
  $values['nm']['options-filter2'] = (in_array($this->prefs['show_links'],array('all','no_describtion')) ? array() : array(


------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
eGroupWare-cvs mailing list
eGroupWare-cvs@...
https://lists.sourceforge.net/lists/listinfo/egroupware-cvs