]> git.koha-community.org Git - koha.git/commit
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)
committerArthur Suzuki <arthur.suzuki@biblibre.com>
Fri, 26 Aug 2022 12:57:15 +0000 (14:57 +0200)
commitaabb010ec1e6933b08ce93aae4593d1ab6c7c869
tree48caadec8f9685eae02a937253286251dd6401d8
parentdbeefd1f2ab45ca6b0b267840913386716b5415f
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>
(cherry picked from commit 35b8967b84ebac2c0e836474445d0cea197b59c6)
Signed-off-by: Arthur Suzuki <arthur.suzuki@biblibre.com>
members/memberentry.pl
opac/opac-messaging.pl