From: Bill Erickson Date: Fri, 8 Mar 2019 15:38:43 +0000 (-0500) Subject: LP1748265 Hold fetch API sms_carrier option X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=04bc46ec8a8b6be91109341672b819d421680ddc;p=evergreen%2Fjoelewis.git LP1748265 Hold fetch API sms_carrier option Support a new "include_sms_carrier" option to the holds retrieve API so the data may be fetched along with the hold instead after the fact in the patron holds list, etc. Signed-off-by: Bill Erickson Signed-off-by: Garry Collum Signed-off-by: Galen Charlton --- diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm index 1e57e9abd0..40a25b13fe 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm @@ -3430,6 +3430,7 @@ sub uber_hold_impl { my $flesh_fields = ['current_copy', 'usr', 'notes']; push (@$flesh_fields, 'requestor') if $args->{include_requestor}; push (@$flesh_fields, 'cancel_cause') if $args->{include_cancel_cause}; + push (@$flesh_fields, 'sms_carrier') if $args->{include_sms_carrier}; my $hold = $e->retrieve_action_hold_request([ $hold_id,