aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancis Irving <francis@mysociety.org>2010-01-28 10:42:12 +0000
committerFrancis Irving <francis@mysociety.org>2010-01-28 10:42:12 +0000
commitd454fd5519755dce663aad6cbdf94a125a4e5579 (patch)
tree767fb06d373fdb16a4a927c573add9d50f4f4c41
parent58748671d31688e20934523e98ff8706aa114f65 (diff)
Give it some order
-rw-r--r--app/controllers/public_body_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/public_body_controller.rb b/app/controllers/public_body_controller.rb
index 176cf8774..591081fe9 100644
--- a/app/controllers/public_body_controller.rb
+++ b/app/controllers/public_body_controller.rb
@@ -103,7 +103,7 @@ class PublicBodyController < ApplicationController
end
def list_all_csv
- public_bodies = PublicBody.find(:all)
+ public_bodies = PublicBody.find(:all, :order => 'url_name')
report = StringIO.new
CSV::Writer.generate(report, ',') do |title|
title << [