summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2018-05-11 17:15:22 +0200
committerFlorian Pritz <bluewind@xinu.at>2018-12-06 11:08:18 +0100
commita24833f074eb805f911b431d62594540cea975b4 (patch)
tree9888d43dcb6db9a062dce48473e2bb722d90b4b7
parent11c87fb9cd98a247b2bf9b4c2e3961403e645b62 (diff)
downloadbugzilla-a24833f074eb805f911b431d62594540cea975b4.tar.gz
bugzilla-a24833f074eb805f911b431d62594540cea975b4.tar.xz
Flyspray: Ensure bugs are fetched in correct order
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rw-r--r--Bugzilla/Migrate/Flyspray.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/Bugzilla/Migrate/Flyspray.pm b/Bugzilla/Migrate/Flyspray.pm
index bed3d3305..268bd8092 100644
--- a/Bugzilla/Migrate/Flyspray.pm
+++ b/Bugzilla/Migrate/Flyspray.pm
@@ -311,6 +311,7 @@ sub _read_bugs {
LEFT OUTER JOIN $fsdb.${fsprfx}list_resolution lr ON lr.resolution_id = t.resolution_reason
LEFT OUTER JOIN $fsdb.${fsprfx}list_version lv ON lv.version_id = t.product_version
GROUP BY t.task_id, a.task_id
+ ORDER BY t.task_id
");
$sth->execute();