getting data changed to restaurantsId array in searchResult