Fix order by on is_primary.
authoreileen <emcnaughton@wikimedia.org>
Tue, 4 Sep 2018 00:09:16 +0000 (12:09 +1200)
committerSeamus Lee <seamuslee001@gmail.com>
Wed, 10 Oct 2018 21:21:59 +0000 (08:21 +1100)
commitab9703d1daf06c6610fbb8708400dc34d3e995d4
tree7383ec23d1695cfaf40a93af166a9d474417a96d
parentdba4438f425b8ac60bd0a31798a6b6fde00db65d
Fix order by on is_primary.

As pointed out in https://lab.civicrm.org/dev/mail/issues/26 the order by is not the
correct format for order_by and has no effect. I tested to make sure it was not
some magic.

I opted for (implict) ASC as the order by for non sms is ASC and further down
processing seems to overwrite each row as it happens so primary later
would overwrite earlier
CRM/Mailing/BAO/Mailing.php