diff options
-rw-r--r-- | perllib/FixMyStreet/App/Controller/My.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/App/Controller/My.pm b/perllib/FixMyStreet/App/Controller/My.pm index e6062fe6c..1021f7056 100644 --- a/perllib/FixMyStreet/App/Controller/My.pm +++ b/perllib/FixMyStreet/App/Controller/My.pm @@ -30,7 +30,9 @@ sub my : Path : Args(0) { my $pins = []; my $problems = {}; - my $rs = $c->user->problems->search( undef, { + my $rs = $c->user->problems->search( { + state => [ 'confirmed', 'fixed' ], + }, { order_by => { -desc => 'confirmed' }, rows => 50 } )->page( $p_page ); |