Skip to content

Commit

Permalink
Fix the newly-introduced CSA prepend problem
Browse files Browse the repository at this point in the history
  • Loading branch information
bockscar authored and Arthur Axel 'fREW' Schmidt committed Aug 10, 2014
1 parent ae7a6d6 commit 88fe47f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Changes
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
Revision history for {{$dist->name}}

{{$NEXT}}
- Fix ::Row::SelfResultSet to correctly include CSA (Thanks Steve Kleiman!)

2.023004 2014-08-01 18:27:54-05:00 America/Chicago
- Fix implementation of ::Row::SelfResultSet (fixes GH#34, thanks ribasushi for
Expand Down
2 changes: 1 addition & 1 deletion lib/DBIx/Class/Helper/Row/SelfResultSet.pm
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ sub self_rs {
my ($self) = @_;

my $rs = $self->result_source->resultset;
return $rs->search($self->ident_condition)
return $rs->search( $self->ident_condition( $rs->current_source_alias ) );
}

1;
Expand Down

0 comments on commit 88fe47f

Please sign in to comment.