{% extends "@bazar/entries/index-dynamic-templates/table.twig" %}

{% set necessary_fields = ( necessary_fields|default([]))|merge(['geolocation']) %}

{% block assets %}
  {{ block('assets','@bazar/entries/index-dynamic-templates/map.twig') }}
  {{ parent() }} 
  {{ include_javascript('tools/bazar/presentation/javascripts/components/BazarTableEntrySelector.js', false, true) }}
{% endblock %}

{% block display_entries %}
  {{ block("display_entries",'@bazar/entries/index-dynamic-templates/map.twig') }}
  <Bazar-Table-Entry-Selector :entries="entriesToDisplay" :params="params">
    <template #bazarlist="{entriesToDisplay}">
      {{ parent() }}
    </template>
  <Bazar-Table-Entry-Selector/>
{% endblock %}
