diff options
author | Matthew Somerville <matthew@mysociety.org> | 2011-09-13 09:34:25 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2011-09-13 09:34:25 +0100 |
commit | da0643c9a33893512176d0262ef6b79b891ef57c (patch) | |
tree | 2e7c431e4dfc3f8005dbf431a7bfe467da4dda57 | |
parent | 81c18df61c2cc861ba2d9f1aac0922fbe462972d (diff) |
Add explicit as for older version of DBIx::Class or something like that.
-rw-r--r-- | perllib/FixMyStreet/App/Controller/Admin.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Admin.pm b/perllib/FixMyStreet/App/Controller/Admin.pm index 8e4f4b5de..2aaa488d6 100644 --- a/perllib/FixMyStreet/App/Controller/Admin.pm +++ b/perllib/FixMyStreet/App/Controller/Admin.pm @@ -209,6 +209,7 @@ sub council_list : Path('council_list') : Args(0) { undef, { select => [ 'editor', { count => 'contacts_history_id', -as => 'c' } ], + as => [ 'editor', 'c' ], group_by => ['editor'], order_by => { -desc => 'c' } } |