Permalink
Browse files

/module/DB is pointing to Locale::Maketext::Utils, fixes #194

  • Loading branch information...
1 parent c7f9f2b commit 2fbc3f778ead55639ff39134c07f157590dbd469 @monken monken committed Apr 10, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/MetaCPAN/Document/File.pm
@@ -577,12 +577,12 @@ sub find {
'mime',
{ 'stat.mtime' => { order => 'desc' } }
]
- )->all;
+ )->size(100)->all;
my ($file) = grep {
grep { $_->indexed && $_->authorized && $_->name eq $module }
@{ $_->module || [] }
- } @candidates;
+ } grep { !$_->documentation || $_->documentation eq $module } @candidates;
# REINDEX: after a full reindex, the rest of the sub can be replaced with
# return $file ? $file : shift @candidates;

0 comments on commit 2fbc3f7

Please sign in to comment.