[interchange-cvs] interchange - heins modified dist/lib/UI/Primitive.pm
interchange-core@interchange.redhat.com
interchange-core@interchange.redhat.com
Sat Feb 2 12:26:00 2002
User: heins
Date: 2002-02-02 17:25:47 GMT
Modified: dist/lib/UI Primitive.pm
Log:
* REALLY fix filters -- did bad test.
Revision Changes Path
2.13 +4 -4 interchange/dist/lib/UI/Primitive.pm
rev 2.13, prev_rev 2.12
Index: Primitive.pm
===================================================================
RCS file: /anon_cvs/repository/interchange/dist/lib/UI/Primitive.pm,v
retrieving revision 2.12
retrieving revision 2.13
diff -u -r2.12 -r2.13
--- Primitive.pm 2 Feb 2002 17:20:12 -0000 2.12
+++ Primitive.pm 2 Feb 2002 17:25:47 -0000 2.13
@@ -1,6 +1,6 @@
# UI::Primitive - Interchange configuration manager primitives
-# $Id: Primitive.pm,v 2.12 2002/02/02 17:20:12 mheins Exp $
+# $Id: Primitive.pm,v 2.13 2002/02/02 17:25:47 mheins Exp $
# Copyright (C) 1998-2001 Red Hat, Inc. <interchange@redhat.com>
@@ -25,7 +25,7 @@
package UI::Primitive;
-$VERSION = substr(q$Revision: 2.12 $, 10);
+$VERSION = substr(q$Revision: 2.13 $, 10);
$DEBUG = 0;
@@ -961,8 +961,8 @@
my $w = Vend::Form::display($record);
my $filter;
if($record->{filter}) {
- $w .= qq{<INPUT TYPE=hidden NAME="ui_filter:$opt->{name}" VALUE="};
- $w .= $opt->{filter};
+ $w .= qq{<INPUT TYPE=hidden NAME="ui_filter:$record->{name}" VALUE="};
+ $w .= $record->{filter};
$w .= '">';
}
return $w unless $o->{template};