[Jifty-commit] jifty branch, jifty_client, updated. f685282e91f647f0a86e6ea1e9c4cb6d25b15ab3

Jifty commits jifty-commit at lists.jifty.org
Wed May 19 04:27:49 EDT 2010


The branch, jifty_client has been updated
       via  f685282e91f647f0a86e6ea1e9c4cb6d25b15ab3 (commit)
      from  4a2e4b9e7d7a5d39b8ede026b81cb7f9c89a76ed (commit)

Summary of changes:
 lib/Jifty/Action/Record.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

- Log -----------------------------------------------------------------
commit f685282e91f647f0a86e6ea1e9c4cb6d25b15ab3
Author: Shawn M Moore <sartak at bestpractical.com>
Date:   Wed May 19 17:28:06 2010 +0900

    Do not include computed columns in Record actions

diff --git a/lib/Jifty/Action/Record.pm b/lib/Jifty/Action/Record.pm
index a72e2ae..e0cc3ba 100644
--- a/lib/Jifty/Action/Record.pm
+++ b/lib/Jifty/Action/Record.pm
@@ -540,7 +540,7 @@ sub possible_columns {
     my $self = shift;
     return grep {
         $_->container
-            or ( !$_->private and !$_->virtual and $_->type ne "serial" )
+            or ( !$_->private and !$_->virtual and !$_->computed and $_->type ne "serial" )
     } $self->record->columns;
 }
 

-----------------------------------------------------------------------


More information about the Jifty-commit mailing list