sort groups by name for consistancy
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 25 Aug 2005 14:47:12 +0000 (14:47 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 25 Aug 2005 14:47:12 +0000 (14:47 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@1726 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/cgi-bin/usr_group-setup.cgi

index 0f3d84a..799dc62 100755 (executable)
@@ -159,7 +159,7 @@ for my $grp ( permission::grp_tree->search( {parent=>undef} ) ) {
        last;
 }
 
-for my $grp ( permission::grp_tree->search_like( {parent => '%'}, {order_by => 'id'} ) ) {
+for my $grp ( permission::grp_tree->search_like( {parent => '%'}, {order_by => 'name'} ) ) {
        my $name = $grp->name;
        my $desc = $grp->description || $grp->name;
        $name =~ s/'/\\'/og;