Skip to content

Commit

Permalink
Remove corpusQuery from statistics
Browse files Browse the repository at this point in the history
Change-Id: Ie906261304329fea455f941fd9baee5a026f7889
  • Loading branch information
Akron committed Jun 12, 2024
1 parent 324cfd6 commit f0f1a01
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
2 changes: 2 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
8 changes: 1 addition & 7 deletions lib/Kalamar/Controller/Search.pm
Original file line number Diff line number Diff line change
Expand Up @@ -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");

Expand Down

0 comments on commit f0f1a01

Please sign in to comment.