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

Evergreen Git git at git.evergreen-ils.org
Thu Sep 18 16:28:45 EDT 2014


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  f513ea3be60ffc84cd767f8c9be05fdb6f7b43e3 (commit)
      from  dce8be16c399e8fe61c29c07c5b4dc85139db72e (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 f513ea3be60ffc84cd767f8c9be05fdb6f7b43e3
Author: Steven Callender <stevecallender at esilibrary.com>
Date:   Thu Mar 13 13:34:23 2014 -0400

    LP#1292129: Removed deleted call numbers from the search results to properly show copy count.
    
    The SQL in fm_IDL.xml for setting up the reporter source "Hold/Copy
    Ratio per Bib" includes deleted call numbers which in turn can give
    an incorrect copy count. The ratio appears to still be correct because
    deleted copies are considered in the ratio calculation, but not the
    copy count that is displayed.
    
    Signed-off-by: Steven Callender <stevecallender at esilibrary.com>
    Signed-off-by: Ben Shum <bshum at biblio.org>

diff --git a/Open-ILS/examples/fm_IDL.xml b/Open-ILS/examples/fm_IDL.xml
index 0e9f710..9bd3039 100644
--- a/Open-ILS/examples/fm_IDL.xml
+++ b/Open-ILS/examples/fm_IDL.xml
@@ -10278,7 +10278,7 @@ SELECT  usr,
                         SELECT 
                             (SELECT id
                                 FROM biblio.record_entry 
-                                WHERE id = (SELECT record FROM asset.call_number WHERE id = call_number)
+                                WHERE id = (SELECT record FROM asset.call_number WHERE id = call_number and deleted is false)
                             ) AS "bre", 
                             COUNT(*) AS "copy_count"
                         FROM asset.copy

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

Summary of changes:
 Open-ILS/examples/fm_IDL.xml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list