From: Garry Collum Date: Fri, 13 Aug 2021 17:41:02 +0000 (-0400) Subject: LP1889916 SMS Carrier does not include region in borrower edit screen X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=e0d8247cb29b95b037c0c11aeaaaad9c1606e8a7;p=evergreen%2Fpines.git LP1889916 SMS Carrier does not include region in borrower edit screen Displays the region next to the carrier name and in the borrower edit and create screens. Also sorts the carrier names alphabetically. Signed-off-by: Garry Collum Signed-off-by: Josh Stompro Signed-off-by: Galen Charlton --- diff --git a/Open-ILS/src/templates/staff/circ/patron/t_edit.tt2 b/Open-ILS/src/templates/staff/circ/patron/t_edit.tt2 index ebafd0829f..540c0be9e2 100644 --- a/Open-ILS/src/templates/staff/circ/patron/t_edit.tt2 +++ b/Open-ILS/src/templates/staff/circ/patron/t_edit.tt2 @@ -854,7 +854,7 @@ within the "form" by name for validation. name="default_sms_text_carrier" ng-model="user_settings['opac.default_sms_carrier']" ng-required="user_settings['opac.default_sms_notify']" - ng-options="c.id() as c.name() for c in sms_carriers" + ng-options="c.id() as c.name() + ' (' + c.region() + ')' for c in sms_carriers | orderBy:'name()'" ng-blur="handle_field_changed(user_settings, 'opac.default_sms_carrier')">