[Bast-commits] r3799 - DBIx-Class/0.08/trunk/lib/DBIx/Class
captainL at dev.catalyst.perl.org
captainL at dev.catalyst.perl.org
Tue Oct 2 16:43:18 GMT 2007
Author: captainL
Date: 2007-10-02 16:43:16 +0100 (Tue, 02 Oct 2007)
New Revision: 3799
Modified:
DBIx-Class/0.08/trunk/lib/DBIx/Class/ResultSet.pm
Log:
added comment explaining change
Modified: DBIx-Class/0.08/trunk/lib/DBIx/Class/ResultSet.pm
===================================================================
--- DBIx-Class/0.08/trunk/lib/DBIx/Class/ResultSet.pm 2007-10-02 15:38:21 UTC (rev 3798)
+++ DBIx-Class/0.08/trunk/lib/DBIx/Class/ResultSet.pm 2007-10-02 15:43:16 UTC (rev 3799)
@@ -1449,6 +1449,9 @@
my $alias = $self->{attrs}{alias};
my $collapsed_cond = $self->{cond} ? $self->_collapse_cond($self->{cond}) : {};
+
+ # precendence must be given to passed values over values inherited from the cond,
+ # so the order here is important.
my %new = (
%{ $self->_remove_alias($collapsed_cond, $alias) },
%{ $self->_remove_alias($values, $alias) },
More information about the Bast-commits
mailing list