{{collection.title}} {{date}}
{% for country_group in records|groupby('country') %}
{{country_group.grouper}}
{% for year_group in country_group.list|groupby('year') %}
{{year_group.grouper}}
{% for series_group in year_group.list|groupby('series')|sort(attribute='1.0.issuedate_raw') %} {% if series_group.grouper and series_group.list|groupby('subjectshort')|length > 1 %}
{% for subjectshort_group in series_group.list|groupby('subjectshort') %} {% set record=subjectshort_group.list[0] %} {% if record.obverseimg %} {{titles.reverseimg}} {% else %}
{{titles.obverseimg}}
{% endif %} {% endfor %}
{{series_group.grouper}}
{% for subjectshort_group in series_group.list|groupby('subjectshort') %} {% for mint_group in subjectshort_group.list|groupby('mintmark') %} {% set record_item=mint_group.list[0] %} {% endfor %} {% endfor %}
{{record_item.subjectshort}}{{record_item.issuedate}}{{record_item.mintmark}}{{record_item.mintage}}
{% set record=series_group.list[0] %} {{record.subject}}
{% else %} {% for subject_group in series_group.list|groupby('subjectshort')|sort(attribute='1.0.issuedate_raw') %} {% set record=subject_group.list[0] %}
{% if record.obverseimg %}
{{titles.reverseimg}}
{% else %}
{{titles.obverseimg}}
{% endif %}
{{record.subjectshort}}
{% for mint_group in subject_group.list|groupby('mintmark') %} {% set record_item=mint_group.list[0] %} {% endfor %}
{{record_item.issuedate}}{{record_item.mintmark}}{{record_item.mintage}}
{{record.subject}}
{% endfor %} {% endif %} {% endfor %}
{% endfor %} {% if not loop.last %}

{% endif %} {% endfor %}

Generated by OpenNumismat