LP#1053397 apply org scope to metarecord attributes
authorBill Erickson <berick@esilibrary.com>
Fri, 14 Feb 2014 19:34:02 +0000 (14:34 -0500)
committerMike Rylander <mrylander@gmail.com>
Mon, 17 Feb 2014 18:52:03 +0000 (13:52 -0500)
commite20cde49e22a523268b49c4158ec39075ae12b0c
treecf1c6bc9af881f3920041b9f06c357dc51319edf
parentb10e6876dec101e2dcde244a5c4d93a974474403
LP#1053397 apply org scope to metarecord attributes

When loading record attributes (cra, ccvm, etc.) for constituent
records, limit the attributes to those contained by records which have
holdings within the provided (search) scope.

With this, for example, a search at Branch 1 for metarecords will only
show format icons for constituent records that have holdings at BR1.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Open-ILS/src/sql/Pg/990.schema.unapi.sql
Open-ILS/src/sql/Pg/upgrade/ZZZZ.schema.unapi-mmr.sql