Add filter by field functionality