stable

Clone or download

Read-only

Extract Users-bound Selectbox values in CSV with duck typing

Part of story #12523 Export single-value list fields to CSV How to test: - Export CSV from a cross-tracker widget with a saved and non-empty report. - When there is a field in at least two trackers with the same shortname and the same Selectbox type, it will be exported. - Trackers without this field will have an empty value for this column. - User-bound list fields with "None" selected will have an empty value. Change-Id: Ie679bfb55b008d35913791a0ceab0a469412714e

Modified Files

Name
M plugins/crosstracker/include/CrossTracker/Report/CSV/Format/BindToValueVisitor.php +20 −9 Go to diff View file
M plugins/crosstracker/phpunit/CrossTracker/Report/CSV/Format/BindToValueVisitorTest.php +37 −2 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_List_Bind_Static.class.php +4 −2 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_List_Bind_Users.class.php +3 −2 Go to diff View file