Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001238 [SysCP] General minor always 2009-04-30 12:25 2009-04-30 18:37
Reporter carsten View Status public  
Assigned To Flo
Priority normal Resolution fixed  
Status resolved   Product Version 1.4.2.1
Summary 0001238: alphabetical order for mail forwarders
Description Currently the alphabetical order for forwarders is missing. It's hard if you have more than 20 recipient.
Additional Information
Tags No tags attached.
Attached Files ? file icon weiterleitungen.tiff [^] (43,812 bytes) 2009-04-30 12:25
? file icon fix_customer_email_fwrd_edit_list_sorting.patch [^] (561 bytes) 2009-04-30 13:24

Sponsor -  Users sponsoring this issue
Sponsors List Total Sponsorship = EUR 10

2009-04-30 12:26: carsten (EUR 10)

- Relationships

-  Notes
(0000401)
dhr (reporter)
2009-04-30 13:25

My attached file fix_customer_email_fwrd_edit_list_sorting.patch does the trick.
(0000402)
carsten (reporter)
2009-04-30 13:39

Thanks a lot! I changed it to:

usort($result['destination'], 'strcasecmp');
(0000403)
Flo (administrator)
2009-04-30 18:37

This is more complicated as it seems on first sight - you have to keep the array key so the delete forwarder function knows which one to delete. I also enhanced some other things in the commit.

-  SVN - commits
(#2718)
flo
2009-04-30 18:36
Sorting email forwarders alphabetically in customer_emails, fixes #1238
U trunk/syscp/customer_email.php
U trunk/syscp/templates/customer/email/emails_edit_forwarder.tpl

- Issue History
Date Modified Username Field Change
2009-04-30 12:25 carsten New Issue
2009-04-30 12:25 carsten File Added: weiterleitungen.tiff
2009-04-30 12:26 carsten Sponsorship Added carsten: EUR 10
2009-04-30 12:26 carsten Sponsorship Total 0 => 10
2009-04-30 12:26 carsten Issue Monitored: carsten
2009-04-30 13:24 dhr File Added: fix_customer_email_fwrd_edit_list_sorting.patch
2009-04-30 13:25 dhr Note Added: 0000401
2009-04-30 13:39 carsten Note Added: 0000402
2009-04-30 18:35 Flo Status new => assigned
2009-04-30 18:35 Flo Assigned To => Flo
2009-04-30 18:36 Flo Checkin
2009-04-30 18:36 Flo Status assigned => resolved
2009-04-30 18:36 Flo Resolution open => fixed
2009-04-30 18:37 Flo Note Added: 0000403
2009-04-30 18:37 Flo Target Version => 1.4.3
Footer