Skip to content
This repository has been archived by the owner on Nov 19, 2021. It is now read-only.

Commit

Permalink
Merge pull request #185 from jbarrett/recent-ideas
Browse files Browse the repository at this point in the history
Add filter to recent ideas list.
  • Loading branch information
jbarrett committed Jul 22, 2014
2 parents e3fa6c4 + 83f08c1 commit 900df76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/DDGC/Web/Controller/Ideas.pm
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ sub base :Chained('/base') :PathPart('ideas') :CaptureArgs(0) {

sub add_latest_ideas {
my ( $self, $c ) = @_;
$c->stash->{latest_ideas} = $c->d->rs('Idea')->search_rs({},{
$c->stash->{latest_ideas} = $c->d->rs('Idea')->ghostbusted->search_rs({},{
order_by => { -desc => 'me.created' },
rows => 5,
page => 1,
Expand Down

0 comments on commit 900df76

Please sign in to comment.