Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed a bug that prevented multiple-field searches from working, e.g.

sf=15:16:17:18.
  • Loading branch information...
commit 156578fe90538bfd782dcb85f094348e54c84583 1 parent f94a7cf
@jonjensen jonjensen authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 lib/Vend/Search.pm
View
8 lib/Vend/Search.pm
@@ -1,8 +1,8 @@
# Vend::Search - Base class for search engines
#
-# $Id: Search.pm,v 2.25 2004-08-09 18:00:43 jon Exp $
+# $Id: Search.pm,v 2.26 2004-09-10 23:17:57 jon Exp $
#
-# Copyright (C) 2002-2003 Interchange Development Group
+# Copyright (C) 2002-2004 Interchange Development Group
# Copyright (C) 1996-2002 Red Hat, Inc.
#
# This program is free software; you can redistribute it and/or modify
@@ -22,7 +22,7 @@
package Vend::Search;
-$VERSION = substr(q$Revision: 2.25 $, 10);
+$VERSION = substr(q$Revision: 2.26 $, 10);
use strict;
use vars qw($VERSION);
@@ -976,7 +976,7 @@ EOF
}
$code .= $range_code;
$code .= <<EOF;
- local(\$_) = join q{$s->{mv_index_delim}}, \@\$line[$fields];
+ local(\$_) = join q{$s->{mv_index_delim}}, \@fields[$fields];
return(1) if &\$sub();
return undef;
}
Please sign in to comment.
Something went wrong with that request. Please try again.