Update Search.php

in a search, you can have a very large number of id_product with many duplicates. With this change the duplicates are removed which reduces the query