LP#1047475 Set action.hold_request.email_notify to default to false
authorMichael Peters <mrpeters@library.in.gov>
Thu, 13 Sep 2012 20:28:04 +0000 (16:28 -0400)
committerBen Shum <bshum@biblio.org>
Tue, 18 Dec 2012 05:17:10 +0000 (00:17 -0500)
commitcb24cc8dcf50ad027f161d9f8507ef4ebe59f22b
treea166a48e90475cdc8be3cb76e6b3f6aaa7fc9e5c
parent84d91473fd54686f472205c5d5826d20f0849c7f
LP#1047475 Set action.hold_request.email_notify to default to false

LP#1047475 points out that email notify prefs are ignored in TPAC.
Even if a patron deselects email notify during hold request time, it
will always be set to true due to the column default.

This change defaults the column in the database to false (like most
other similar columns are) and resolves the bug.

Credit to Steve Callender for the idea.

Signed-off-by: Michael Peters <mrpeters@library.in.gov>
Signed-off-by: Ben Shum <bshum@biblio.org>
Open-ILS/src/sql/Pg/090.schema.action.sql
Open-ILS/src/sql/Pg/upgrade/XXXX.action.hold_request.email_notify_default_false.sql [new file with mode: 0644]