8000 Profiler View Latest should preserve all the current query parameters · symfony/symfony@138babb · GitHub
[go: up one dir, main page]

Skip to content

Commit 138babb

Browse files
committed
Profiler View Latest should preserve all the current query parameters
1 parent c8e05e3 commit 138babb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/layout.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
{% if profile %}
1515
<div id="resume">
1616
<a id="resume-view-all" href="{{ path('_profiler_search', {limit: 10}) }}">View last 10</a>
17-
<a id="resume-view-latest" href="{{ path('_profiler', {token: 'latest', 'panel': panel}) }}">View latest</a>
17+
<a id="resume-view-latest" href="{{ path('_profiler', {token: 'latest'}|merge(request.query.all)) }}">View latest</a>
1818
<strong>Profile for:</strong>
1919
{{ profile.method|upper }}
2020
{% if profile.method|upper in ['GET', 'HEAD'] %}

0 commit comments

Comments
 (0)
0