Filtering: Method 'search' accepts filter as a parameter