LP#1442254: adjust how sending library set for messages created from notes user/kmlussier/lp1442254_use_staff_ws_lib
authorGalen Charlton <gmc@esilibrary.com>
Tue, 31 Mar 2015 21:23:22 +0000 (21:23 +0000)
committerKathy Lussier <klussier@masslnc.org>
Thu, 9 Apr 2015 20:45:35 +0000 (16:45 -0400)
commit2bc8acf5acba436fcf76c60ed17c26c7ad8e4fcd
treea3488d2782fb298a88a80719a24f18900b4f0863
parent962902632bcd6bbbca30813d289e439a15f068eb
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>
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]