[Jifty-commit] r1911 - jifty/trunk/lib/Jifty
jifty-commit at lists.jifty.org
jifty-commit at lists.jifty.org
Thu Aug 31 17:56:49 EDT 2006
Author: nelhage
Date: Thu Aug 31 17:56:48 2006
New Revision: 1911
Modified:
jifty/trunk/lib/Jifty/Action.pm
Log:
Backing out this stickiness change for the moment, since it breaks
BTDT searches.
Modified: jifty/trunk/lib/Jifty/Action.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Action.pm (original)
+++ jifty/trunk/lib/Jifty/Action.pm Thu Aug 31 17:56:48 2006
@@ -354,7 +354,7 @@
my $field_info = $self->arguments->{$args{'argument'}};
my $sticky = 0;
- $sticky = 1 if $self->sticky_on_failure and (Jifty->web->response->result($self->moniker) and $self->result->failure);
+ $sticky = 1 if $self->sticky_on_failure and (!Jifty->web->response->result($self->moniker) or $self->result->failure);
$sticky = 1 if $self->sticky_on_success and (Jifty->web->response->result($self->moniker) and $self->result->success);
# $sticky can be overrided per-parameter
More information about the Jifty-commit
mailing list