]> git.evergreen-ils.org Git - Evergreen.git/commit
Default to org tree root for bre unapi funcs
authorBill Erickson <berick@esilibrary.com>
Tue, 8 Nov 2011 20:13:53 +0000 (15:13 -0500)
committerMike Rylander <mrylander@gmail.com>
Thu, 17 Nov 2011 19:43:18 +0000 (14:43 -0500)
commit28671a277e9683ab5c72afcaab8c330d6d3b3e47
treea639e0a87d4284a56568c85103e63820a3971813
parentad07dc3faddeca280969bf6825a6947e27419b96
Default to org tree root for bre unapi funcs

If the org unit ("site") parameter to unapi.biblio_record_entry_feed()
or unapi.bre() is equal to "-" or NULL, default to the root of the org
unit tree.  In cases where the caller does not care to limit by site,
determing the shortname of the root org node is one less step the client
now has to take.

Original patch from Mike Rylander.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/src/sql/Pg/990.schema.unapi.sql
Open-ILS/src/sql/Pg/upgrade/XXXX.schema.unapi-indb-optional-org.sql [new file with mode: 0644]