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 58e6348 commit dd6a616Copy full SHA for dd6a616
lib/MetaCPAN/Document/File/Set.pm
@@ -571,8 +571,8 @@ sub autocomplete_suggester {
571
no warnings 'uninitialized';
572
my @sorted = map { $valid{$_} }
573
sort {
574
- $favorites->{ $valid{$b}->{name} }
575
- <=> $favorites->{ $valid{$a}->{name} }
+ $favorites->{ $valid{$b}->{distribution} }
+ <=> $favorites->{ $valid{$a}->{distribution} }
576
|| $docs{$b} <=> $docs{$a}
577
|| length($a) <=> length($b)
578
|| $a cmp $b
0 commit comments