Author: spadkins
Date: Thu Sep  6 10:39:46 2007
New Revision: 9919

Modified:
   p5ee/trunk/App-Repository/lib/App/SessionObject/RepositoryObjectSet.pm

Log:
0000410: Had to make a copy of params in _get_all_objects to stop set_params 
from doing a _clear_cache

Modified: p5ee/trunk/App-Repository/lib/App/SessionObject/RepositoryObjectSet.pm
==============================================================================
--- p5ee/trunk/App-Repository/lib/App/SessionObject/RepositoryObjectSet.pm      
(original)
+++ p5ee/trunk/App-Repository/lib/App/SessionObject/RepositoryObjectSet.pm      
Thu Sep  6 10:39:46 2007
@@ -213,6 +213,7 @@
         my $table   = $self->{table} || die "table not defined";
         my $params  = $self->{params} || {};
         my $columns = $self->{columns};
+        $params = {%$params};
         $objects = $rep->get_objects($table, $params, $columns, 
{extend_columns => 1});
         $self->{objects} = $objects;
         $self->{max_age_time} = time();

Reply via email to