wired doSearch function to search button. Returns pre-set data