[Xfce4-commits] <moka:master> Sort classifications.

Nick Schermer noreply at xfce.org
Wed Nov 23 19:58:01 CET 2011


Updating branch refs/heads/master
         to 8e91837bf3e840c5f8272db8839cee903610c11e (commit)
       from 902e0ef1cb6ee4323573e3378e40f2bd838b21d5 (commit)

commit 8e91837bf3e840c5f8272db8839cee903610c11e
Author: Nick Schermer <nick at xfce.org>
Date:   Wed Nov 23 19:55:47 2011 +0100

    Sort classifications.

 lib/views/project_list.haml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib/views/project_list.haml b/lib/views/project_list.haml
index 81ef6cf..084f5d0 100644
--- a/lib/views/project_list.haml
+++ b/lib/views/project_list.haml
@@ -7,7 +7,7 @@
     %p
       %label{:for => "classification"} Classification:
       %select{:name => "classification", :id => "classification"}
-        - for classification in Classification.find_all
+        - for classification in Classification.find_all.sort
           %option{:name => classification.name} #{classification.name}
     %p.quote
       %input{:type => "submit", :value => "Create" }


More information about the Xfce4-commits mailing list