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 <gcollum@gmail.com>
Signed-off-by: Josh Stompro <stomproj@larl.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
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')">
<option value="">Select a Carrier</option>
</select>