From: Alexander Hartmaier Date: Thu, 12 Apr 2012 14:30:30 +0000 (+0200) Subject: fixed current_source_alias example code X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=2268474f6427676f69515a0ea47d638eaa6b497c;p=dbsrgits%2FDBIx-Class-Historic.git fixed current_source_alias example code --- diff --git a/lib/DBIx/Class/ResultSet.pm b/lib/DBIx/Class/ResultSet.pm index 3b68af1..71595e3 100644 --- a/lib/DBIx/Class/ResultSet.pm +++ b/lib/DBIx/Class/ResultSet.pm @@ -3098,9 +3098,9 @@ source alias of the current result set: my $me = $self->current_source_alias; - return $self->search( + return $self->search({ "$me.modified" => $user->id, - ); + }); } =cut