Skip to content

Commit 82adcf6

Browse files
authored
Merge pull request #894 from gugod/release-query-size
Set th "size" of resultset to be the same as input size.
2 parents 0dc675f + c395227 commit 82adcf6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/MetaCPAN/Query/Release.pm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -363,6 +363,7 @@ sub by_author_and_names {
363363
# $releases: ArrayRef[ Dict[ author => Str, name => Str ] ]
364364

365365
my $body = {
366+
size => (0+ @$releases),
366367
query => {
367368
bool => {
368369
should => [

0 commit comments

Comments
 (0)