--- loncom/interface/loncommon.pm 2012/04/25 21:22:01 1.1073 +++ loncom/interface/loncommon.pm 2012/05/06 22:09:14 1.1074 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # a pile of common routines # -# $Id: loncommon.pm,v 1.1073 2012/04/25 21:22:01 raeburn Exp $ +# $Id: loncommon.pm,v 1.1074 2012/05/06 22:09:14 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1981,19 +1981,112 @@ sub select_form { # For display filters sub display_filter { + my ($context) = @_; if (!$env{'form.show'}) { $env{'form.show'}=10; } if (!$env{'form.displayfilter'}) { $env{'form.displayfilter'}='currentfolder'; } - return '