Added types in search.php