Refactoring param name in Search.php