[Jifty-commit] r3652 - jifty/trunk/lib/Jifty/Action

jifty-commit at lists.jifty.org jifty-commit at lists.jifty.org
Tue Jul 10 18:09:07 EDT 2007


Author: clkao
Date: Tue Jul 10 18:09:06 2007
New Revision: 3652

Modified:
   jifty/trunk/lib/Jifty/Action/Record.pm

Log:
Revert the logic change.  We still want to include container fields in list.

Modified: jifty/trunk/lib/Jifty/Action/Record.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Action/Record.pm	(original)
+++ jifty/trunk/lib/Jifty/Action/Record.pm	Tue Jul 10 18:09:06 2007
@@ -352,7 +352,7 @@
 
 sub possible_fields {
     my $self = shift;
-    return map { $_->name } grep { $_->type && $_->type ne "serial" } $self->record->columns;
+    return map { $_->name } grep { $_->container || $_->type ne "serial" } $self->record->columns;
 }
 
 =head2 take_action


More information about the Jifty-commit mailing list