Skip to content

Commit

Permalink
Merge pull request #668 from metacpan/mickey/fav_by_user
Browse files Browse the repository at this point in the history
favorite: by_user: added missing author details
  • Loading branch information
mickeyn committed May 29, 2017
2 parents 646ae83 + e05f135 commit 0fe2bcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/MetaCPAN/Document/Favorite.pm
Expand Up @@ -55,7 +55,7 @@ sub by_user {
body => {
query => { term => { user => $user } },
size => $size,
fields => [qw( date distribution )],
fields => [qw( author date distribution )],
sort => [ { date => 'desc' } ],
}
);
Expand Down

0 comments on commit 0fe2bcf

Please sign in to comment.