Bug 20439: Sort SMS providers in alphabetical order by DB field
authorLucas Gass <lucas@bywatersolutions.com>
Fri, 15 Jul 2022 16:55:53 +0000 (16:55 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Mon, 18 Jul 2022 17:51:57 +0000 (14:51 -0300)
commitfd49601079fcf6790364522b41bd038bca3190c6
tree2b216e7d73150b8f47c45c6a5b06ab86c7ae8854
parent73d2066837e5f73e44c89952497d12e6f1d13342
Bug 20439: Sort SMS providers in alphabetical order by DB field

To test:
1/ Add 'Email' to the 'SMSSendDriver' system preference.
2/ Make sure 'EnhancedMessagingPreferencesOPAC' and 'EnhancedMessagingPreferences' are turned on.
3/ Add some SMS providers (/cgi-bin/koha/admin/sms_providers.pl) with different names.
4/ Notice on memberentry.pl and opac-messaging.pl the SMS providers sort by when they were added, not alphabetically.
5/ Apply patch and restart services.
6/ Look at memberentry.pl and opac-messaging.pl and notice that they SMS providers now sort alphabetically.

Signed-off-by: George Williams <george@nekls.org
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
members/memberentry.pl
opac/opac-messaging.pl