LP#1442254: adjust how sending library set for messages created from notes
authorGalen Charlton <gmc@esilibrary.com>
Tue, 31 Mar 2015 21:23:22 +0000 (21:23 +0000)
committerBen Shum <bshum@biblio.org>
Fri, 10 Apr 2015 01:56:50 +0000 (21:56 -0400)
commit9cf2ae440aa05130c85c5f975da24f30cc797050
treef5ac5ecb5791deca16134fb8deac5ae2a10c3be1
parent0a3f5945665eed723ab3b956f7853388b386a575
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>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Ben Shum <bshum@biblio.org>
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]