Getting warmer
[dbsrgits/DBIx-Class.git] / lib / DBIx / Class / ResultSource.pm
index c3b9c74..04b634c 100644 (file)
@@ -1262,6 +1262,7 @@ sub _resolve_join {
                   : $rel_info->{attrs}{join_type}
                 ,
                -join_path => [@$jpath, $join],
+               -is_single => (List::Util::first { $rel_info->{attrs}{accessor} eq $_ } (qw/single filter/) ),
                -alias => $as,
                -relation_chain_depth => $seen->{-relation_chain_depth} || 0,
              },