def make_all_author_patches_query(project, owner, status='status:open'):
    """ Make a query string for fetching all patches on a project that belong
    to author. The default status is open.

    returns:
        Query string containing all 
    """
    ret =   'project:' + project
    ret +=  ' AND ' + status
    ret +=  ' AND owner:\"' + owner + '\"' 
    return ret