We should provide method get_value() for class views_handler_field_math because other module will use this raw (float) value to do other things.
Because class views_handler_field_math extend class views_handler_field_numeric, we should remove method render() and inherit it from class views_handler_field_numeric.
Class views_handler_field_numeric will call method get_value() and render this raw value to formatted number.
http://cgit.drupalcode.org/views/tree/handlers/views_handler_field_numeric.inc#n109
Comment | File | Size | Author |
---|---|---|---|
#3 | views-245759-1.patch | 2.06 KB | SilviuChingaru |
|
Issue fork views-2451759
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
SilviuChingaru CreditAttribution: SilviuChingaru at MagazinulCuScule.ro for MagazinulCuScule.ro commentedTests with patch.
Comment #4
DamienMcKennaThis is a feature request rather than a bug report.