New pull list interface taking advantage of flattener for speed,
[transitory.git] / Open-ILS / src / perlmods / lib / OpenILS / Application / Flattener.pm
index a6c77d3..ff232a9 100644 (file)
@@ -89,12 +89,14 @@ sub _flattened_search_single_join_clause {
             my $new_join;
             if ($reltype eq "has_a") {
                 $new_join = {
+                    type => "left",
                     class => $hint,
                     fkey => $piece,
                     field => $field
                 };
             } elsif ($reltype eq "has_many" or $reltype eq "might_have") {
                 $new_join = {
+                    type => "left",
                     class => $hint,
                     fkey => $last_ident,
                     field => $field