Someone please help me on this, its doing my brain in.
In the coupon admin > email coupon page, on the drop down list I desperatly need the list of customers to be in Decending order by customer id.
by default they are alphabetical, but I have thousands of customers and regualry have the need to send coupons to new customers.
I have found the part that cretaes the drop down which is this:
<td class="main"><?php echo TEXT_CUSTOMER; ?> </td>
<td><?php echo zen_draw_pull_down_menu('customers_email_address', $customers, $_GET['customer']);?></td>
and $customers was defined above by:
$customers = get_audiences_list('email');
I assumed that this was all done in the query_builder, but to me it looks like those querys only call the grouped emails for like:
customers in last 3 months etc..
I cant find the query that ends up listing the customers individually ?
please can someone point me in the right direction so that I can change the order that they are listed please.