[LON-CAPA-cvs] cvs: loncom /interface lonuserutils.pm
raeburn
raeburn at source.lon-capa.org
Mon Dec 9 13:47:18 EST 2013
raeburn Mon Dec 9 18:47:18 2013 EDT
Modified files:
/loncom/interface lonuserutils.pm
Log:
- Reinstate sortable columns.
Index: loncom/interface/lonuserutils.pm
diff -u loncom/interface/lonuserutils.pm:1.157 loncom/interface/lonuserutils.pm:1.158
--- loncom/interface/lonuserutils.pm:1.157 Fri Dec 6 12:11:09 2013
+++ loncom/interface/lonuserutils.pm Mon Dec 9 18:47:18 2013
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Utility functions for managing LON-CAPA user accounts
#
-# $Id: lonuserutils.pm,v 1.157 2013/12/06 12:11:09 bisitz Exp $
+# $Id: lonuserutils.pm,v 1.158 2013/12/09 18:47:18 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -2469,7 +2469,7 @@
@sortable = ('username','fullname','email','status');
}
my %is_sortable;
- map { $is_sortable{$_} => 1; } @sortable;
+ map { $is_sortable{$_} = 1; } @sortable;
unless ($is_sortable{$sortby}) {
$sortby = 'username';
}
More information about the LON-CAPA-cvs
mailing list