Home - Waterfall Grid T-Grid Console Builders Recent Builds Buildslaves Changesources - JSON API - About

Change #6949

Category None
Changed by Jeff Davis <jdavisohnoyoudont@sitka.bclibraries.ca>
Changed at Fri 01 May 2020 15:10:16
Repository git://git.evergreen-ils.org/Evergreen.git
Project Evergreen
Branch master
Revision 69f9ec751b8c613d1acfecf1fb8e7d7eb6a1607f

Comments

LP#1865533: save changes on Edit Hold in My Account
When editing a hold in the OPAC, changes are not saved if the SMS field
is blank.  The sms_notify value is being passed as an empty string, and
this non-null value violates the "sms_check" constraint on
action.hold_request.  Replacing the empty string with undef allows the
hold update to succeed.

Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>

Changed files