{% extends "organization/read_base.html" %}

{% block primary_content %}
  <article class="module">
    {% block page_header %}
      {{ super() }}
    {% endblock %}
    {% snippet "package/snippets/search_results.html",
      dataset_type=dataset_type,
      fields_grouped=fields_grouped,
      search_facets=search_facets,
      facet_titles=facet_titles,
      translated_fields=translated_fields,
      remove_field=remove_field,
      q=q,
      sort_by_selected=sort_by_selected,
      page=page,
      query_error=query_error,
      fields=fields
    %}
  </article>
{% endblock %}

{% block organization_facets %}
  {% snippet "package/snippets/search_facets.html",
    facet_titles=facet_titles,
    search_facets=search_facets
  %}
{% endblock %}
