Skip to content

Commit

Permalink
Do not transfer referer to new tab filtered list from embedded list
Browse files Browse the repository at this point in the history
  • Loading branch information
alterphp authored Jun 30, 2021
1 parent 3effcde commit ec1a6e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Resources/views/default/embedded_list.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
<tr>
<td colspan="{{ _columns_count }}" class="text-center">
{% block open_new_tab %}
<a class="btn btn-info btn-sm open-new-tab" title="{{ 'open.new_tab'|trans({}, 'EasyAdminBundle') }}" target="_blank" href="{{ path('easyadmin', _request_parameters|merge({action: 'list'})) }}">
<a class="btn btn-info btn-sm open-new-tab" title="{{ 'open.new_tab'|trans({}, 'EasyAdminBundle') }}" target="_blank" href="{{ path('easyadmin', _request_parameters|merge({action: 'list', referer: null})) }}">
<i class="fa fa-external-link-square"></i>
<span>{{ 'open.new_tab'|trans({}, 'EasyAdminBundle') }}</span>
</a>
Expand Down

0 comments on commit ec1a6e4

Please sign in to comment.