diff options
author | Struan Donald <struan@exo.org.uk> | 2011-08-16 10:38:49 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2011-08-16 10:38:49 +0100 |
commit | c104ae8c1d72eb25ba60686b58f01da148dc081f (patch) | |
tree | 83bbf971b4d4ca305452bdfaacf50cd30ae5317c /perllib/FixMyStreet/App/Controller/My.pm | |
parent | 213948dcc9c281b1873da98e381b25231c376165 (diff) | |
parent | f6ddc9d4db2e272d725e7ed44fb4d828d99d3b61 (diff) |
Merge branch 'master' of ssh://git.mysociety.org/data/git/public/fixmystreet into open311-consumer
Conflicts:
db/schema.sql
perllib/FixMyStreet/DB/Result/Problem.pm
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/My.pm')
-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 ); |