[open-ils-commits] [GIT] Evergreen ILS branch master updated. 0de1824b27c48cb2d24b6e8b0a5e61711dc74452

Evergreen Git git at git.evergreen-ils.org
Fri Mar 8 14:40:00 EST 2019


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, master has been updated
       via  0de1824b27c48cb2d24b6e8b0a5e61711dc74452 (commit)
      from  401ec7296128a2d9e8f720352df9e3f4c35ef660 (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 0de1824b27c48cb2d24b6e8b0a5e61711dc74452
Author: Steven Callender <stevecallender at esilibrary.com>
Date:   Tue Dec 11 13:18:27 2018 -0500

    LP1808006 - Sitemap generator fix to allow shortname parameter.
    
    Signed-off-by: Steven Callender <stevecallender at esilibrary.com>
    Signed-off-by: Geoff Sams <gsams at roanoketexas.com>
    Signed-off-by: Chris Sharp <csharp at georgialibraries.org>

diff --git a/Open-ILS/src/support-scripts/sitemap_generator b/Open-ILS/src/support-scripts/sitemap_generator
index 1a238f5949..22bdd8f0cf 100755
--- a/Open-ILS/src/support-scripts/sitemap_generator
+++ b/Open-ILS/src/support-scripts/sitemap_generator
@@ -163,7 +163,10 @@ sub get_record_ids {
                  )
     ";
     if ($aou_id) {
-        $q .= " WHERE circ_lib IN (SELECT id FROM copy_orgs)";
+        $q .= "
+       INNER JOIN asset.copy ac ON (vc.target_copy = ac.id)
+       WHERE ac.circ_lib IN (SELECT id FROM copy_orgs)
+    ";
     }
     $q .= "
             UNION 

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

Summary of changes:
 Open-ILS/src/support-scripts/sitemap_generator | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list