[interchange-cvs] interchange - heins modified lib/Vend/DbSearch.pm

interchange-core@interchange.redhat.com interchange-core@interchange.redhat.com
Wed Oct 17 22:13:01 2001


User:      heins
Date:      2001-10-18 02:12:32 GMT
Modified:  lib/Vend Tag: STABLE_4_8-branch DbSearch.pm
Log:
	* Put mv_base_directory back.

Revision  Changes    Path
No                   revision



No                   revision



2.0.2.2   +7 -3      interchange/lib/Vend/DbSearch.pm


rev 2.0.2.2, prev_rev 2.0.2.1
Index: DbSearch.pm
===================================================================
RCS file: /anon_cvs/repository/interchange/lib/Vend/DbSearch.pm,v
retrieving revision 2.0.2.1
retrieving revision 2.0.2.2
diff -u -r2.0.2.1 -r2.0.2.2
--- DbSearch.pm	2001/10/17 20:10:46	2.0.2.1
+++ DbSearch.pm	2001/10/18 02:12:32	2.0.2.2
@@ -1,6 +1,6 @@
 # Vend::DbSearch - Search indexes with Interchange
 #
-# $Id: DbSearch.pm,v 2.0.2.1 2001/10/17 20:10:46 jon Exp $
+# $Id: DbSearch.pm,v 2.0.2.2 2001/10/18 02:12:32 mheins Exp $
 #
 # Adapted for use with Interchange from Search::TextSearch
 #
@@ -26,7 +26,7 @@
 
 @ISA = qw(Vend::Search);
 
-$VERSION = substr(q$Revision: 2.0.2.1 $, 10);
+$VERSION = substr(q$Revision: 2.0.2.2 $, 10);
 
 use Search::Dict;
 use strict;
@@ -73,7 +73,11 @@
 
 	@{$s}{keys %Default} = (values %Default);
 	$s->{mv_all_chars}	        = [1];
-	$s->{mv_base_directory}     = $Vend::Cfg->{ProductDir};
+	
+	### This is a bit of a misnomer, for really it is the base table
+	### that we will use if no base=table param is specified
+	$s->{mv_base_directory}     = $Vend::Cfg->{ProductFiles}[0];
+
 	$s->{mv_begin_string}       = [];
 	$s->{mv_case}               = [];
 	$s->{mv_column_op}          = [];