Skip to content

Commit

Permalink
/module/DB is pointing to Locale::Maketext::Utils, fixes #194
Browse files Browse the repository at this point in the history
  • Loading branch information
monken committed Apr 10, 2012
1 parent c7f9f2b commit 2fbc3f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/MetaCPAN/Document/File.pm
Expand Up @@ -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;
Expand Down

0 comments on commit 2fbc3f7

Please sign in to comment.