mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
Infolog: Fix double row load if default filter preference is none
'none' was not a valid option and was "fixed", triggering another load.
This commit is contained in:
parent
241b5ec839
commit
24a1dfbc2e
@ -903,7 +903,7 @@ class infolog_ui
|
||||
if (isset($_GET['filter']) && $_GET['filter'] != 'default' || !isset($values['nm']['filter']) && !$this->called_by)
|
||||
{
|
||||
$values['nm']['filter'] = $_GET['filter'] && $_GET['filter'] != 'default' ? $_GET['filter'] :
|
||||
$this->prefs['defaultFilter'];
|
||||
($this->prefs['defaultFilter'] == 'none' ? '' : $this->prefs['defaultFilter']);
|
||||
}
|
||||
if (!isset($values['nm']['order']) || !$values['nm']['order'])
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user