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)
committerLucas Gass <lucas@bywatersolutions.com>
Tue, 23 Aug 2022 19:24:52 +0000 (19:24 +0000)
commit35b8967b84ebac2c0e836474445d0cea197b59c6
tree28e290657e1ce54b5b388bf70344fcfedc5916d7
parentf92f6a315d8b89a7da65cb24f85edea2963ecbfe
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>
(cherry picked from commit fd49601079fcf6790364522b41bd038bca3190c6)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
members/memberentry.pl
opac/opac-messaging.pl