mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-27 00:09:13 +01:00
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
|
$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";
|
//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
|
// 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
|
// so we have to check that as well
|
||||||
|
Loading…
Reference in New Issue
Block a user