data-aggregator: fix alphabetic resulttype sorting
Depending on SQL-statement nesting, some scripts already correctly sorted resulttypes alphabetically, but some sorted along the numeric ENUM value behind the resulttype name. This change explicitly converts the resulttype to a string before sorting. Change-Id: Ia18aa4e75b94a6a9f7bb125953bc85b86b3cbd6e
This commit is contained in:
@ -22,5 +22,6 @@ INNER JOIN fspgroup g ON t.variant_id = g.variant_id AND t.data_address = g.data
|
||||
INNER JOIN result_GenericExperimentMessage r ON r.pilot_id = g.pilot_id
|
||||
WHERE $FILTER
|
||||
GROUP BY v.id, s.name, r.resulttype
|
||||
ORDER BY v.benchmark, v.variant, s.name, r.resulttype;
|
||||
ORDER BY v.benchmark, v.variant, s.name, CONCAT(r.resulttype)
|
||||
;
|
||||
EOT
|
||||
|
||||
Reference in New Issue
Block a user