def get_indicator_publication(indicator):
    """
    Build publications grid field from the indicator external_references field

    Args:
        indicator: The indicator with publication field

    Returns:
        list. publications grid field
    """
    publications = []
    for external_reference in indicator.get('external_references', []):
        if external_reference.get('external_id'):
            continue
        url = external_reference.get('url')
        description = external_reference.get('description')
        source_name = external_reference.get('source_name')
        publications.append({'link': url, 'title': description, 'source': source_name})
    return publications