The clone () method instantiates a search object identical to the current context search object.
search = clone()
|
Object |
Search object identical to the current context search object. |
var context = this.getContext();var search = context.get("search");
var newSearch = this.newSearch.clone();