[LON-CAPA-cvs] cvs: loncom /interface loncommon.pm
raeburn
raeburn@source.lon-capa.org
Thu, 06 Aug 2009 04:05:39 -0000
raeburn Thu Aug 6 04:05:39 2009 EDT
Modified files:
/loncom/interface loncommon.pm
Log:
- Exclude "user search in course" option when directory search is being used to specify personnel in a course request.
Index: loncom/interface/loncommon.pm
diff -u loncom/interface/loncommon.pm:1.879 loncom/interface/loncommon.pm:1.880
--- loncom/interface/loncommon.pm:1.879 Wed Aug 5 23:44:52 2009
+++ loncom/interface/loncommon.pm Thu Aug 6 04:05:38 2009
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# a pile of common routines
#
-# $Id: loncommon.pm,v 1.879 2009/08/05 23:44:52 raeburn Exp $
+# $Id: loncommon.pm,v 1.880 2009/08/06 04:05:38 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -7532,6 +7532,7 @@
# loncreateuser::print_user_query_page()
# has been completed.
next if ($option eq 'alc');
+ next if (($option eq 'crs') && ($env{'form.form'} eq 'requestcrs'));
next if ($option eq 'crs' && !$env{'request.course.id'});
if ($curr_selected{'srchin'} eq $option) {
$srchinsel .= '