forked from extern/egroupware
Calendar: Make sure search from sidebox doesn't come back in list view after being cleared
This commit is contained in:
parent
ffecac79fd
commit
01da1c3bd4
@ -172,10 +172,12 @@ class calendar_uilist extends calendar_ui
|
|||||||
{
|
{
|
||||||
$this->adjust_for_search($params['keywords'], $content['nm']);
|
$this->adjust_for_search($params['keywords'], $content['nm']);
|
||||||
}
|
}
|
||||||
|
unset($params['keywords']);
|
||||||
}
|
}
|
||||||
if (isset($_REQUEST['keywords'])) // new search => set filters so every match is shown
|
if (isset($_REQUEST['keywords'])) // new search => set filters so every match is shown
|
||||||
{
|
{
|
||||||
$this->adjust_for_search($_REQUEST['keywords'],$content['nm']);
|
$this->adjust_for_search($_REQUEST['keywords'],$content['nm']);
|
||||||
|
unset($_REQUEST['keywords']);
|
||||||
}
|
}
|
||||||
$sel_options['filter'] = &$this->date_filters;
|
$sel_options['filter'] = &$this->date_filters;
|
||||||
|
|
||||||
|
@ -2693,7 +2693,7 @@ app.classes.calendar = (function(){ "use strict"; return AppJS.extend(
|
|||||||
}
|
}
|
||||||
state.state.col_filter = {participant: state.state.owner};
|
state.state.col_filter = {participant: state.state.owner};
|
||||||
state.state.search = state.state.keywords ? state.state.keywords : state.state.search;
|
state.state.search = state.state.keywords ? state.state.keywords : state.state.search;
|
||||||
|
delete state.state.keywords;
|
||||||
|
|
||||||
var nm = view.etemplates[0].widgetContainer.getWidgetById('nm');
|
var nm = view.etemplates[0].widgetContainer.getWidgetById('nm');
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user