[Cpan-forum-commit] rev 66 - trunk/lib/CPAN

svn at pti.co.il svn at pti.co.il
Wed Feb 2 19:45:02 IST 2005


Author: gabor
Date: 2005-02-02 19:45:01 +0200 (Wed, 02 Feb 2005)
New Revision: 66

Modified:
   trunk/lib/CPAN/Forum.pm
Log:
when searching for distribution name, allow :: chars as well and replace them by -

Modified: trunk/lib/CPAN/Forum.pm
===================================================================
--- trunk/lib/CPAN/Forum.pm	2005-02-02 17:44:27 UTC (rev 65)
+++ trunk/lib/CPAN/Forum.pm	2005-02-02 17:45:01 UTC (rev 66)
@@ -183,6 +183,7 @@
 
 v0.10_02
   <p>, <br> enabled
+  Add link to Kobes Search
 
 v0.10
 - markup improved, bugs fixed
@@ -1744,6 +1745,7 @@
 		return $self->module_serach_form(['invalid_search_term']);
 	}
 	$self->log->debug("group name search term: $txt");
+	$txt =~ s/::/-/g;
 	$txt = '%' . $txt . '%';
 	
 	my $it =  CPAN::Forum::Groups->search_like(name => $txt);



More information about the Cpan-forum-commit mailing list