[interchange-cvs] interchange - heins modified lib/Vend/DbSearch.pm
interchange-core@interchange.redhat.com
interchange-core@interchange.redhat.com
Wed Oct 17 22:06:01 2001
User: heins
Date: 2001-10-18 02:05:42 GMT
Modified: lib/Vend DbSearch.pm
Log:
* Putting mv_base_directory back
Revision Changes Path
2.2 +6 -3 interchange/lib/Vend/DbSearch.pm
rev 2.2, prev_rev 2.1
Index: DbSearch.pm
===================================================================
RCS file: /anon_cvs/repository/interchange/lib/Vend/DbSearch.pm,v
retrieving revision 2.1
retrieving revision 2.2
diff -u -r2.1 -r2.2
--- DbSearch.pm 2001/10/17 20:07:52 2.1
+++ DbSearch.pm 2001/10/18 02:05:42 2.2
@@ -1,6 +1,6 @@
# Vend::DbSearch - Search indexes with Interchange
#
-# $Id: DbSearch.pm,v 2.1 2001/10/17 20:07:52 jon Exp $
+# $Id: DbSearch.pm,v 2.2 2001/10/18 02:05:42 mheins Exp $
#
# Adapted for use with Interchange from Search::TextSearch
#
@@ -26,7 +26,7 @@
@ISA = qw(Vend::Search);
-$VERSION = substr(q$Revision: 2.1 $, 10);
+$VERSION = substr(q$Revision: 2.2 $, 10);
use Search::Dict;
use strict;
@@ -73,7 +73,10 @@
@{$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} = [];