Add special exception for deleted, since it's not in the list of statuses

This commit is contained in:
Nathan Gray 2012-07-16 22:42:15 +00:00
parent 5b0a009e5f
commit ee440ce548

View File

@ -328,7 +328,7 @@ class infolog_ui
}
//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'] &&
if($query['col_filter']['info_status'] && $query['col_filter']['info_status'] != 'deleted' &&
!in_array($query['col_filter']['info_status'], $this->bo->status[$query['col_filter']['info_type']]))
{
$query['col_filter']['info_status'] = '';