[Bast-commits] r7158 - DBIx-Class/0.08/trunk/lib/DBIx/Class

mo at dev.catalyst.perl.org mo at dev.catalyst.perl.org
Fri Jul 31 10:51:21 GMT 2009


Author: mo
Date: 2009-07-31 10:51:20 +0000 (Fri, 31 Jul 2009)
New Revision: 7158

Modified:
   DBIx-Class/0.08/trunk/lib/DBIx/Class/ResultSet.pm
Log:
POD fix

Modified: DBIx-Class/0.08/trunk/lib/DBIx/Class/ResultSet.pm
===================================================================
--- DBIx-Class/0.08/trunk/lib/DBIx/Class/ResultSet.pm	2009-07-30 21:39:31 UTC (rev 7157)
+++ DBIx-Class/0.08/trunk/lib/DBIx/Class/ResultSet.pm	2009-07-31 10:51:20 UTC (rev 7158)
@@ -293,7 +293,7 @@
   my $new_attrs = { %{$our_attrs}, %{$attrs} };
 
   # merge new attrs into inherited
-  foreach my $key (qw/join prefetch +select +as bind/) {
+  foreach my $key (qw/join order_by prefetch +select +as bind/) {
     next unless exists $attrs->{$key};
     $new_attrs->{$key} = $self->_merge_attr($our_attrs->{$key}, $attrs->{$key});
   }
@@ -3392,7 +3392,7 @@
 If you specify a condition on a prefetched relationship, ONLY those
 rows that match the prefetched condition will be fetched into that relationship.
 This means that adding prefetch to a search() B<may alter> what is returned by
-traversing a relationship. So, if you have C<Artist->has_many(CDs)> and you do
+traversing a relationship. So, if you have C<< Artist->has_many(CDs) >> and you do
 
   my $artist_rs = $schema->resultset('Artist')->search({
       'cds.year' => 2008,




More information about the Bast-commits mailing list