--- loncom/interface/lonuserutils.pm 2012/12/18 15:35:42 1.145 +++ loncom/interface/lonuserutils.pm 2012/12/31 15:28:36 1.146 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Utility functions for managing LON-CAPA user accounts # -# $Id: lonuserutils.pm,v 1.145 2012/12/18 15:35:42 raeburn Exp $ +# $Id: lonuserutils.pm,v 1.146 2012/12/31 15:28:36 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1907,8 +1907,8 @@ sub column_checkboxes { if ($env{'form.Status'} ne 'Any') { $disabledchk{'status'} = 1; } - if ($env{'form.showrole'} ne 'Any') { - $disabledchk{'role'} = 1; + if (($env{'form.showrole'} ne 'Any') && ($env{'form.showrole'} ne 'cr')) { + $disabledchk{'role'} = 1; } } my $numposs = scalar(@cols);