--- loncom/metadata_database/searchcat.pl 2007/01/03 03:58:34 1.70.2.1 +++ loncom/metadata_database/searchcat.pl 2007/01/03 03:59:48 1.70.2.2 @@ -2,7 +2,7 @@ # The LearningOnline Network # searchcat.pl "Search Catalog" batch script # -# $Id: searchcat.pl,v 1.70.2.1 2007/01/03 03:58:34 albertel Exp $ +# $Id: searchcat.pl,v 1.70.2.2 2007/01/03 03:59:48 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -330,6 +330,7 @@ sub process_portfolio_access_data { $acc_data->{keynum} = $key; my ($num,$scope,$end,$start) = ($key =~ /^([^:]+):([a-z]+)_(\d*)_?(\d*)$/); + next if (($scope ne 'public') && ($scope ne 'guest')); $acc_data->{scope} = $scope; if ($end != 0) { $acc_data->{end} = &sqltime($end);