search function in select view completed