forked from extern/egroupware
If statis is not valid for selected type, clear status filter
This commit is contained in:
parent
60c4c33e8c
commit
286c6331a0
@ -327,6 +327,12 @@ class infolog_ui
|
||||
$query['custom_fields'] = true; // read the custom fields too
|
||||
}
|
||||
//echo "<p align=right>template ='".'infolog.index.rows.'.$query['col_filter']['info_type']."'".(!$query['template'] ? ' not' : '')." found</p>\n";
|
||||
// If status is not valid for selected type, clear status filter
|
||||
if($query['col_filter']['info_status'] &&
|
||||
!in_array($query['col_filter']['info_status'], $this->bo->status[$query['col_filter']['info_type']]))
|
||||
{
|
||||
$query['col_filter']['info_status'] = '';
|
||||
}
|
||||
}
|
||||
// do we need to read the custom fields, depends on the column is enabled and customfields exist, prefs are filter specific
|
||||
// so we have to check that as well
|
||||
|
Loading…
Reference in New Issue
Block a user