LP#1442254: adjust how sending library set for messages created from notes user/gmcharlt/lp1442254_use_staff_ws_lib
authorGalen Charlton <gmc@esilibrary.com>
Tue, 31 Mar 2015 21:23:22 +0000 (21:23 +0000)
committerGalen Charlton <gmc@esilibrary.com>
Thu, 9 Apr 2015 16:14:02 +0000 (16:14 +0000)
commitcf8377076900bc57c5629f7d7445beb2b88ecb74
treebc74f59f3315a992bb303baa4ecce5e513824d15
parent156e80f9a227cfe20f523d9f10d87f00c9d2d70e
LP#1442254: adjust how sending library set for messages created from notes

When creating a new user message from a public note, the library
of the workstation of the staff member who created the original
note is used if available from get_audit_info().  If it's not
available (e.g., if notes are added using direct SQL, the
home library of the note creator is used instead).

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Open-ILS/src/sql/Pg/005.schema.actors.sql
Open-ILS/src/sql/Pg/upgrade/ZZZZ.schema.use-ws-lib-for-messages.sql [new file with mode: 0644]