removing cache for computed_action_order
wreis [Sat, 1 Aug 2009 01:16:26 +0000 (01:16 +0000)]
lib/Reaction/UI/ViewPort/Collection/Grid.pm

index 1cf3fd9..abdecc4 100644 (file)
@@ -88,17 +88,8 @@ around _build_members => sub {
   my $orig = shift;
   my $self = shift;
   $self->member_args->{computed_field_order} ||= $self->computed_field_order;
-  $self->member_args->{computed_action_order} ||= [];
   my $members = $self->$orig(@_);
 
-  # cache everything yo
-  for my $member (@$members){
-    $member->clear_computed_action_order;
-    my $order = $member->computed_action_order;
-    @{ $self->member_args->{computed_action_order} } = @$order;
-    last;
-  }
-
   return $members;
 };