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:42 +0000 (21:56 -0400)
commit7971f16f026c69f40d9aafc515bf1ccf2d58ed3f
tree23a75f1cc00fbbc365d7aba4484a1875e73b686d
parent6f658be6afc894f40d096f191374ad81f909a05d
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]