clarify choice of value
[dbsrgits/DBIx-Class.git] / lib / DBIx / Class / FilterColumn.pm
index 9002058..45b798c 100644 (file)
@@ -123,7 +123,11 @@ sub update {
       exists $self->column_info($key)->{_filter_info}
     ) {
       $self->set_filtered_column($key, delete $attrs->{$key});
-      $self->get_column($key);
+
+      # FIXME update() reaches directly into the object-hash
+      # and we may *not* have a filtered value there - thus
+      # the void-ctx filter-trigger
+      $self->get_column($key) unless exists $self->{_column_data}{$key};
     }
   }