We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72d66fc commit a47c72eCopy full SHA for a47c72e
bin/release.pl
@@ -426,17 +426,18 @@ ($document)
426
my $count = $es->search(
427
search_type => 'count',
428
body => {
429
- query => { match_all => {} },
430
- filter => {
431
- and => [
432
- { term => { distribution => $document->{distribution} } },
433
- {
434
- range => {
435
- version_numified =>
+ query => {
+ bool => {
+ must => [
+ { term => { distribution => $document->{distribution} } },
+ {
+ range => {
+ version_numified =>
436
{ 'lt' => $document->{version_numified} }
437
+ },
438
},
- }
439
- ],
+ ],
440
441
442
443
)->{hits}{total};
0 commit comments