LP#1655149: Badges need CDBI support for location groups
authorMike Rylander <mrylander@gmail.com>
Wed, 28 Dec 2016 19:43:34 +0000 (14:43 -0500)
committerKathy Lussier <klussier@masslnc.org>
Tue, 10 Jan 2017 13:09:29 +0000 (08:09 -0500)
commit8958094801fda86643aee19a87de573c670c158f
tree2ddc1d05c23f83d6aa7d18e2aea76c26ed0e0e31
parentb1fddabc192bcfc4d03995a965f19d2999ac341b
LP#1655149: Badges need CDBI support for location groups

The badge code needs to inspect copy location groups, and tries to do so using
Class::DBI classes. But we haven't told CDBI about aclg and friends.  Here we
tell Class::DBI about asset.copy_location_group so that storage can retrieve
directly.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/CDBI/asset.pm
Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Driver/Pg/dbi.pm