adds search filter to inquiries