[LON-CAPA-cvs] cvs: loncom /interface lonsearchcat.pm
www
lon-capa-cvs@mail.lon-capa.org
Wed, 08 Feb 2006 16:25:40 -0000
www Wed Feb 8 11:25:40 2006 EDT
Modified files:
/loncom/interface lonsearchcat.pm
Log:
Appending the domain restriction to the query itself does nothing.
Index: loncom/interface/lonsearchcat.pm
diff -u loncom/interface/lonsearchcat.pm:1.252 loncom/interface/lonsearchcat.pm:1.253
--- loncom/interface/lonsearchcat.pm:1.252 Tue Feb 7 14:46:30 2006
+++ loncom/interface/lonsearchcat.pm Wed Feb 8 11:25:39 2006
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Search Catalog
#
-# $Id: lonsearchcat.pm,v 1.252 2006/02/07 19:46:30 albertel Exp $
+# $Id: lonsearchcat.pm,v 1.253 2006/02/08 16:25:39 www Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1543,7 +1543,6 @@
my ($libraries_to_query,$pretty_domains_string,$domain_sql_restriction) =
&parse_domain_restrictions();
if ((defined($domain_sql_restriction)) && ($domain_sql_restriction ne '')) {
- push(@queries,$domain_sql_restriction);
$pretty_search_string .= $pretty_domains_string."<br />\n";
}
#
@@ -1647,9 +1646,6 @@
return;
}
push(@Queries,$SQLQuery);
- if (defined($domain_sql_restriction) && $domain_sql_restriction ne '') {
- push(@Queries,$domain_sql_restriction);
- }
#foreach my $q (@Queries) {
# &Apache::lonnet::logthis(' '.$q);
#}