Skip to content

Commit

Permalink
Improve short circuit
Browse files Browse the repository at this point in the history
Change-Id: I2c66f20d57dc48c9083602f9bd066971552e5682
  • Loading branch information
Akron committed Sep 26, 2024
1 parent f7f75a9 commit 17b4146
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/Kalamar/Controller/Search.pm
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ sub query {
# Corpus query exists
$query{q} = $query_placeholder;
$query{count} = 0;
$query{cutoff} = 'true';
}

else {
Expand Down

0 comments on commit 17b4146

Please sign in to comment.