View | Details | Raw Unified | Return to bug 20439
Collapse All | Expand All

(-)a/members/memberentry.pl (-1 / +2 lines)
Lines 69-75 if ( $borrowernumber and not $patron ) { Link Here
69
69
70
if ( C4::Context->preference('SMSSendDriver') eq 'Email' ) {
70
if ( C4::Context->preference('SMSSendDriver') eq 'Email' ) {
71
    my @providers = Koha::SMS::Providers->search->as_list;
71
    my @providers = Koha::SMS::Providers->search->as_list;
72
    $template->param( sms_providers => \@providers );
72
    my @sorted_providers = sort { $a->name cmp $b->name } @providers;
73
    $template->param( sms_providers => \@sorted_providers );
73
}
74
}
74
75
75
my $actionType     = $input->param('actionType') || '';
76
my $actionType     = $input->param('actionType') || '';
(-)a/opac/opac-messaging.pl (-3 / +3 lines)
Lines 79-86 $template->param( Link Here
79
                  TalkingTechItivaPhone        =>  C4::Context->preference("TalkingTechItivaPhoneNotification") );
79
                  TalkingTechItivaPhone        =>  C4::Context->preference("TalkingTechItivaPhoneNotification") );
80
80
81
if ( C4::Context->preference("SMSSendDriver") eq 'Email' ) {
81
if ( C4::Context->preference("SMSSendDriver") eq 'Email' ) {
82
    my $providers = Koha::SMS::Providers->search;
82
    my @providers = Koha::SMS::Providers->search->as_list;
83
    $template->param( sms_providers => $providers, sms_provider_id => $patron->sms_provider_id );
83
    my @sorted_providers = sort { $a->name cmp $b->name } @providers;
84
    $template->param( sms_providers => \@sorted_providers, sms_provider_id => $patron->sms_provider_id );
84
}
85
}
85
86
86
my $new_session_id = $query->cookie('CGISESSID');
87
my $new_session_id = $query->cookie('CGISESSID');
87
- 

Return to bug 20439