Fix parent command filter

This commit is contained in:
nathangray 2019-03-28 11:11:48 -06:00
parent 4e9c648c6a
commit 480a1ade81

View File

@ -512,9 +512,9 @@ abstract class admin_cmd
$query['col_filter'][] = 'cmd_rrule IS NOT NULL';
}
unset($query['col_filter']['periodic']);
if($query['parent_id'])
if($query['col_filter']['parent'])
{
$query['col_filter']['parent'] = (int)$query['parent_id'];
$query['col_filter']['parent'] = (int)$query['col_filter']['parent'];
}
$total = admin_cmd::$sql->get_rows($query,$rows,$readonlys);