if you have a view with a relationship and want to display the content complete field for that relationship referenced node, it will display the value for the main node not the related one, im using a nodereference relationship
fix is easy (though found it the hard way :-) and i think its safe to include in a release
--- content_complete/views/handlers/content_complete_views_handler_field_completeness.inc 2009-09-27 19:39:19.000000000 +0000
+++ content_complete/views/handlers/content_complete_views_handler_field_completeness.inc 2009-09-27 22:34:59.000000000 +0000
@@ -66,7 +66,7 @@ class content_complete_views_handler_fie
}
function render($values) {
- $data['percent'] = $values->content_complete_completeness;
+ $data['percent'] = $values->{$this->field_alias};
switch ($this->options['display_as']) {
default:
case 'numeric':
Comments
Comment #1
pvhee commentedThanks, I corrected this in dev and will soon release beta4 with a couple of other fixes.