made search a getter prop