{% set route_params = { (column.options.route_param_name) : (record[column.options.route_param_field]) } %}

{% for name, field in column.options.extra_route_params %}
  {% set route_params = route_params|merge({ (name) : (record[field] ?? field) }) %}
{% endfor %}

<a href="{{ gls_poland_legacy_link(column.options.route, route_params) }}">
  {{ record[column.options.field] }}
</a>
