diff options
Diffstat (limited to 'lib/field.cpp')
-rw-r--r-- | lib/field.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/field.cpp b/lib/field.cpp index ad6d958..4b7fff6 100644 --- a/lib/field.cpp +++ b/lib/field.cpp | |||
@@ -110,7 +110,10 @@ namespace verbly { | |||
110 | 110 | ||
111 | field::operator filter() const | 111 | field::operator filter() const |
112 | { | 112 | { |
113 | if (isJoin()) | 113 | if (type_ == type::hierarchal_join) |
114 | { | ||
115 | return filter(*this, filter::comparison::hierarchally_matches, filter()); | ||
116 | } else if (isJoin()) | ||
114 | { | 117 | { |
115 | return filter(*this, filter::comparison::matches, filter()); | 118 | return filter(*this, filter::comparison::matches, filter()); |
116 | } else { | 119 | } else { |