diff --git a/src/Controller/RunController.php b/src/Controller/RunController.php index 14def25d..334e6a23 100644 --- a/src/Controller/RunController.php +++ b/src/Controller/RunController.php @@ -271,7 +271,7 @@ public function compare(Request $request): void 'base_run' => $baseRun, 'head_run' => $headRun, 'candidates' => $candidates, - 'url_params' => $request->get(), + 'url_params' => $request->getQueryParams(), 'comparison' => $comparison, 'paging' => $paging, 'search' => [ diff --git a/src/RequestProxy.php b/src/RequestProxy.php index 6092982b..1f54ffed 100644 --- a/src/RequestProxy.php +++ b/src/RequestProxy.php @@ -17,6 +17,11 @@ public function __construct(Request $request) $this->request = $request; } + public function getQueryParams() + { + return $this->request->getQueryParams(); + } + public function get(string $key, $default = null) { return $this->request->getQueryParam($key, $default); diff --git a/templates/runs/compare.twig b/templates/runs/compare.twig index 29d16080..f53114f2 100644 --- a/templates/runs/compare.twig +++ b/templates/runs/compare.twig @@ -36,7 +36,7 @@