stable

Clone or download

Read-only

Sorting trackers on fields does not generate DB errors

It is no more allowed to sort reports using unsortable fields. It is possible again to sort a report according to a priority field. This solves request #10935: Sorting on "Rank" field causes artifacts not to be displayed in tracker report. The issue has been made more visible with the modifications made in commits 2c50e75d8676fb44001712e446918f86d37c976a and 13308818555ef36fc832ad3989323ebbf28073db. If an existing report has been sorted against an unsortable column, sort will be ignored and a warning added instead of sort icon. Change-Id: Ide5c559a1aacc2650e556cb672b4d415ac1696cd

Modified Files

Name
M plugins/agiledashboard/include/AgileDashboard/FormElement/Burnup.php +5 −0 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElementFactory.class.php +0 −18 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field.class.php +9 −1 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_Computed.class.php +5 −0 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_Date.class.php +6 −1 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_Float.class.php +5 −0 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_Integer.class.php +5 −0 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_List.class.php +5 −0 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_Priority.class.php +2 −3 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_Text.class.php +5 −0 Go to diff View file
M plugins/tracker/include/Tracker/Report/Tracker_Report_Renderer_Table.class.php +14 −16 Go to diff View file
M plugins/tracker/site-content/fr_FR/LC_MESSAGES/tuleap-tracker.po +7 −0 Go to diff View file
M plugins/tracker/site-content/tuleap-tracker.pot +5 −0 Go to diff View file