Do not change list time range filter when search changes

This commit is contained in:
nathangray 2016-08-12 10:51:48 -06:00
parent ee3371ead8
commit 53fea1e811

View File

@ -221,13 +221,11 @@ class calendar_uilist extends calendar_ui
$params['order'] = 'cal_start'; $params['order'] = 'cal_start';
if ($keywords) if ($keywords)
{ {
$params['filter'] = 'all';
$params['sort'] = 'DESC'; $params['sort'] = 'DESC';
unset($params['col_filter']['participant']); unset($params['col_filter']['participant']);
} }
else else
{ {
$params['filter'] = 'after';
$params['sort'] = 'ASC'; $params['sort'] = 'ASC';
} }
} }