Coding the new search fragment.