diff --git a/Changes b/Changes index 2b74f5be..3c5c7414 100644 --- a/Changes +++ b/Changes @@ -5,6 +5,8 @@ - Removed deprecated doc_navi helper. (diewald) - Removed deprecated doc->url helper. (diewald) - Correctly propagate warnings in frontend calls. (diewald) + - Remove corpusQuery from statistics + (as per Kudstvakt #758). (diewald) 0.54 2024-06-10 - Remove deprecated 'matchInfo' API path. (diewald, margaretha) diff --git a/lib/Kalamar/Controller/Search.pm b/lib/Kalamar/Controller/Search.pm index 2876c504..dcb13e88 100644 --- a/lib/Kalamar/Controller/Search.pm +++ b/lib/Kalamar/Controller/Search.pm @@ -307,13 +307,7 @@ sub corpus_info { # Add query my $cq = $v->param('cq'); - if ($cq) { - $url->query({cq => $cq}); - - # Temporary for backwards compatibility - # with Kustvakt < 0.62.1 - $url->query({corpusQuery => $cq}); - }; + $url->query({cq => $cq}) if $cq; $c->app->log->debug("Statistics info: $url");