Posted by Amitaibu on February 17, 2009 at 8:13am
2 followers
| Project: | Content Construction Kit (CCK) |
| Version: | 6.x-2.9 |
| Component: | General |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs review |
Issue Summary
If I define piped allowed values
key|valueor php allowed values
return array(
'key' => t('Value'),
);Then in the diff the key appears, instead of the value.
(btw, Please add Diff integration in the 'Component'.)
Comments
#1
i fixed this in the default hook for content fields (which also handles option widgets with allowed values), im checking if the field has any allowed values, and if it has and we have a display value for the current field value - it diffs the display values instead
patch attached