[svn:p5ee] r8084 - p5ee/trunk/App-Repository/lib/App/SessionObject

[email protected]
Newsgroups perl.cvs.p5ee
Message-ID <[email protected]>
Author: spadkins
Date: Fri Nov 17 20:33:09 2006
New Revision: 8084

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

Log:
get_objects() will extend columns so that returned objects are good for summarization

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	Fri Nov 17 20:33:09 2006
@@ -185,7 +185,7 @@
         my $table   = $self->{table} || die "table not defined";
         my $params  = $self->{params} || {};
         my $columns = $self->{columns};
-        $objects = $rep->get_objects($table, $params, $columns);
+        $objects = $rep->get_objects($table, $params, $columns, {extend_columns => 1});
         $self->{objects} = $objects;
         $self->{max_age_time} = time();
     }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.