Skip to content

Commit

Permalink
bug #47417 [WebProfilerBundle] Fix profile search bar link query para…
Browse files Browse the repository at this point in the history
…ms (HeahDude)

This PR was merged into the 5.4 branch.

Discussion
----------

[WebProfilerBundle] Fix profile search bar link query params

| Q             | A
| ------------- | ---
| Branch?       | 5.4
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Tickets       | ~
| License       | MIT
| Doc PR        | ~

Spotted while working on #47416.
The second argument of `controller()` is `attributes`.

Commits
-------

c09e7a6 [WebProfilerBundle] Fix profile search bar link query params
  • Loading branch information
fabpot committed Aug 31, 2022
2 parents 3bf6b39 + c09e7a6 commit e76364c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@
{{ include('@WebProfiler/Icon/search.svg') }} <span class="hidden-small">Search</span>
</a>

{{ render(controller('web_profiler.controller.profiler::searchBarAction', request.query.all)) }}
{{ render(controller('web_profiler.controller.profiler::searchBarAction', query=request.query.all)) }}
</div>
</div>

Expand Down

0 comments on commit e76364c

Please sign in to comment.