[MOBY-guts] biomoby commit

Mark Wilkinson mwilkinson at pub.open-bio.org
Fri May 9 14:21:41 UTC 2003


mwilkinson
Fri May  9 10:21:41 EDT 2003
Update of /home/repository/moby/moby-live/Perl/MOBY
In directory pub.open-bio.org:/tmp/cvs-serv8155/Perl/MOBY

Modified Files:
	Central.pm 
Log Message:
test keyword search
moby-live/Perl/MOBY Central.pm,1.61,1.62
===================================================================
RCS file: /home/repository/moby/moby-live/Perl/MOBY/Central.pm,v
retrieving revision 1.61
retrieving revision 1.62
diff -u -r1.61 -r1.62
--- /home/repository/moby/moby-live/Perl/MOBY/Central.pm	2003/05/09 14:20:19	1.61
+++ /home/repository/moby/moby-live/Perl/MOBY/Central.pm	2003/05/09 14:21:41	1.62
@@ -1720,9 +1720,9 @@
 		$searchstring =~ s/OR//;  # just the first one
 		$debug && &_LOG("search $searchstring\n");
 		
-		my $ids = $dbh->selectall_arrayref("select service_instance_id from service_instance where $search");
+		my $ids = $dbh->selectall_arrayref("select service_instance_id from service_instance where $searchstring");
 		unless (scalar @{$ids}){
-			$debug && &_LOG("found no ids @{$ids}!\nselect service_instance_id from service_instance where $search\n");
+			$debug && &_LOG("found no ids @{$ids}!\nselect service_instance_id from service_instance where $searchstring\n");
 			return &_serviceListResponse($dbh, undef);
 		}		
 		foreach (@{$ids}){




More information about the MOBY-guts mailing list