[open-ils-commits] [GIT] Evergreen ILS branch rel_2_11 updated. 94ed523032edc28a53ade54df9b7c26a36a8b6e4

Evergreen Git git at git.evergreen-ils.org
Tue Jan 10 08:12:10 EST 2017


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".

The branch, rel_2_11 has been updated
       via  94ed523032edc28a53ade54df9b7c26a36a8b6e4 (commit)
      from  289f25a0c6d314057eb37fd358d14bc8308c67e7 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 94ed523032edc28a53ade54df9b7c26a36a8b6e4
Author: Mike Rylander <mrylander at gmail.com>
Date:   Wed Dec 28 14:43:34 2016 -0500

    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 at gmail.com>
    Signed-off-by: Kathy Lussier <klussier at masslnc.org>

diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/CDBI/asset.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/CDBI/asset.pm
index b9f6354..b631bb8 100644
--- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/CDBI/asset.pm
+++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/CDBI/asset.pm
@@ -13,6 +13,14 @@ __PACKAGE__->columns( Primary => qw/id/ );
 __PACKAGE__->columns( Essential => qw/name owning_lib holdable hold_verify opac_visible circulate label_prefix label_suffix checkin_alert deleted/ );
 
 #-------------------------------------------------------------------------------
+package asset::copy_location_group;
+use base qw/asset/;
+
+__PACKAGE__->table( 'asset_copy_location_group' );
+__PACKAGE__->columns( Primary => qw/id/ );
+__PACKAGE__->columns( Essential => qw/name owner pos top opac_visible/ );
+
+#-------------------------------------------------------------------------------
 package asset::copy_location_order;
 use base qw/asset/;
 
diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Driver/Pg/dbi.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Driver/Pg/dbi.pm
index 59f72f5..f680b1c 100644
--- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Driver/Pg/dbi.pm
+++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Driver/Pg/dbi.pm
@@ -376,6 +376,12 @@
     asset::copy_location->sequence( 'asset.copy_location_id_seq' );
 
     #---------------------------------------------------------------------
+    package asset::copy_location_group;
+    
+    asset::copy_location_group->table( 'asset.copy_location_group' );
+    asset::copy_location_group->sequence( 'asset.copy_location_group_id_seq' );
+
+    #---------------------------------------------------------------------
     package asset::copy;
     
     asset::copy->table( 'asset.copy' );

-----------------------------------------------------------------------

Summary of changes:
 .../lib/OpenILS/Application/Storage/CDBI/asset.pm  |    8 ++++++++
 .../OpenILS/Application/Storage/Driver/Pg/dbi.pm   |    6 ++++++
 2 files changed, 14 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list