From ecf27d725df20a1f222a020b04c2df6768856793 Mon Sep 17 00:00:00 2001 From: Garry Collum Date: Fri, 13 Aug 2021 13:41:02 -0400 Subject: [PATCH] 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 --- Open-ILS/src/templates/staff/circ/patron/t_edit.tt2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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')"> -- 2.11.0