The clearIntentions() method empties the search object intentions list, undefining savedSearchName if it is defined.
This method should be called by modules that call absorbIntentions() , if leaving intentions could result in unexpected behavior in subsequent calls to absorbIntentions() .
clearIntentions()
Undefined
var context = this.getContext();var search = context.get('search');
search.absorbIntentions();
search.clearIntentions();
context.set('search', search);
return context;