filterResults with query parameter