Permalink
Browse files

Query is needed during merging to promote gh items

  • Loading branch information...
1 parent 3319d06 commit edfea288e0787632f299dde287b1435d41d4eb0f @kappa committed Apr 2, 2010
Showing with 2 additions and 2 deletions.
  1. +1 −1 cpanhubble.pm
  2. +1 −1 scripts/ch.pl
View
2 cpanhubble.pm
@@ -28,7 +28,7 @@ get '/search' => sub {
$cv->recv;
my $res =
- merge_cpan_and_github($cpan, $gh);
+ merge_cpan_and_github($cpan, $gh, params->{q});
template 'serp', { res => $res, query => params->{q} };
};
View
2 scripts/ch.pl
@@ -29,6 +29,6 @@
$cv->recv;
my $res =
- merge_cpan_and_github($cpan, $gh);
+ merge_cpan_and_github($cpan, $gh, $q);
say Dumper($res);

0 comments on commit edfea28

Please sign in to comment.