def METHOD_NAME(project_list, param):
    param_parts = param.split(", ")
    if len(param_parts) > 1:
        project_list = project_list.filter(
            project_city=param_parts[0], project_state=param_parts[1]
        )
    return project_list