]> git.evergreen-ils.org Git - Evergreen.git/commit
Add a "staff_alert" column to config.standing_penalty, and ...
authorLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Tue, 10 Jan 2012 17:59:57 +0000 (12:59 -0500)
committerLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Tue, 10 Jan 2012 19:33:54 +0000 (14:33 -0500)
commitb8fd484b3fd1f49d01e8556951a23eda6a49ee76
treeb0bc986a805399e5ad0fcfefa005eeaf598538b2
parent1f8f87ae3708140672a3ce3f2a9d49ce308b276f
Add a "staff_alert" column to config.standing_penalty, and ...

... consult this when deciding whether to show the stop sign page in the
patron interface of the staff client, rather than explicitly checking
for the id of the ALERT_NOTE config.standing_penalty.

Now only show the standing penalty if the staff_alert value is true,
instead of unconditionally showing it for all penalties with a
block_list value.  This allows staff to configure blocking penalties
that do not alert.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Open-ILS/examples/fm_IDL.xml
Open-ILS/src/sql/Pg/002.schema.config.sql
Open-ILS/src/sql/Pg/upgrade/0667.schema.alerting-penalties.sql [new file with mode: 0644]
Open-ILS/xul/staff_client/server/patron/display.js