implementing search filter with one field