[interchange-cvs] interchange - kwalsh modified lib/Vend/Interpolate.pm
interchange-core@icdevgroup.org
interchange-core@icdevgroup.org
Tue Nov 26 01:49:00 2002
User: kwalsh
Date: 2002-11-26 06:48:05 GMT
Modified: lib/Vend Interpolate.pm
Log:
* Allow the 'md' (mv_more_decade) paramater to be specified with
tags such as [query].
Revision Changes Path
2.133 +3 -2 interchange/lib/Vend/Interpolate.pm
rev 2.133, prev_rev 2.132
Index: Interpolate.pm
===================================================================
RCS file: /var/cvs/interchange/lib/Vend/Interpolate.pm,v
retrieving revision 2.132
retrieving revision 2.133
diff -u -r2.132 -r2.133
--- Interpolate.pm 26 Nov 2002 04:07:34 -0000 2.132
+++ Interpolate.pm 26 Nov 2002 06:48:05 -0000 2.133
@@ -1,6 +1,6 @@
# Vend::Interpolate - Interpret Interchange tags
#
-# $Id: Interpolate.pm,v 2.132 2002/11/26 04:07:34 mheins Exp $
+# $Id: Interpolate.pm,v 2.133 2002/11/26 06:48:05 kwalsh Exp $
#
# Copyright (C) 1996-2002 Red Hat, Inc. <interchange@redhat.com>
#
@@ -27,7 +27,7 @@
require Exporter;
@ISA = qw(Exporter);
-$VERSION = substr(q$Revision: 2.132 $, 10);
+$VERSION = substr(q$Revision: 2.133 $, 10);
@EXPORT = qw (
@@ -5112,6 +5112,7 @@
if($opt->{ml} and ! defined $obj->{mv_matchlimit} ) {
$obj->{mv_matchlimit} = $opt->{ml};
+ $obj->{mv_more_decade} = $opt->{md};
$obj->{matches} = scalar @{$obj->{mv_results}};
$obj->{mv_cache_key} = generate_key(substr($page,0,100));
$obj->{mv_first_match} = $opt->{fm} if $opt->{fm};