aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2018-05-08 09:07:24 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2018-05-08 09:07:26 +0100
commitb78032651996f8326c73b6e7ff8280776aa1cc40 (patch)
treec80c3d32a8e839c88c621ec5b0505b013abc9bff
parent0104b5a9576ec8175984d9ca1af755a2ab46774d (diff)
[Open311] Make sure updates sent in order.
Some Open311 servers will refuse an update with a timestamp earlier than one it already received.
-rwxr-xr-xbin/send-comments1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/send-comments b/bin/send-comments
index 22c2cef8f..fc61169ef 100755
--- a/bin/send-comments
+++ b/bin/send-comments
@@ -71,6 +71,7 @@ while ( my $body = $bodies->next ) {
},
{
join => 'problem',
+ order_by => [ 'confirmed', 'id' ],
}
);