Scope collectionHQ extract to org unit + children
authorJeff Godin <jgodin@tadl.org>
Thu, 2 Aug 2012 16:01:03 +0000 (12:01 -0400)
committerGalen Charlton <gmc@esilibrary.com>
Thu, 2 Aug 2012 16:18:52 +0000 (12:18 -0400)
commit231f0a96ba01f54e1025659f5223bc5868ff6b6e
treeda1fb5cd9a0da56410d87eba1a9b2ef093f55e3b
parentf842c545ff403f97e418d41413386352a2c58a67
Scope collectionHQ extract to org unit + children

Enable collectionHQ extract functions to scope to a specified org
unit ID and that org unit's children. Specify a default org unit of
1 to closely reproduce previous behavior.

NOTE: Even with an org unit of 1, this work-in-progress changes
previous behavior due to requiring an asset.call_number with
owning_lib in scope. Previously ALL bibs were included.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
collectionHQ/functions.sql
collectionHQ/get_bibs.sql
collectionHQ/get_items.sql