[interchange] Fix one off [item-increment] bug when passing fm (jump) parameter to a search.
Stefan Hornburg
interchange-cvs at icdevgroup.org
Mon Aug 26 15:09:34 UTC 2013
commit 061559be3c2c056b36360a0b48bab99fa4c9c875
Author: Stefan Hornburg (Racke) <racke at linuxia.de>
Date: Mon Aug 26 17:05:23 2013 +0200
Fix one off [item-increment] bug when passing fm (jump) parameter to a search.
lib/Vend/Interpolate.pm | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/lib/Vend/Interpolate.pm b/lib/Vend/Interpolate.pm
index 6e2fe4e..68653c8 100644
--- a/lib/Vend/Interpolate.pm
+++ b/lib/Vend/Interpolate.pm
@@ -3653,6 +3653,7 @@ sub labeled_list {
}
elsif (defined $opt->{fm}) {
$i = $opt->{fm} - 1;
+ $obj->{mv_first_match} = $i;
}
$count = $obj->{mv_first_match} || $i;
More information about the interchange-cvs
mailing list