The clearTimeRange() method resets the search TimeRange object to the all time default and undefines savedSearchName, if it is defined.
this = clearTimeRange()
|
Object |
Current object. |
var context = this.getContext();var search = context.get('search');
search.absorbIntentions();
search.clearIntentions();
context.set('search', search);
return context;