[open-ils-commits] [GIT] Evergreen ILS branch rel_2_6 updated. 40a043e37a87f4cd77cbe7bddcb1fbfc52574a89

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, rel_2_6 has been updated
       via  40a043e37a87f4cd77cbe7bddcb1fbfc52574a89 (commit)
      from  885c98e1c38b8c3fb09d7ce7ab3dbafa0cfb0b21 (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 40a043e37a87f4cd77cbe7bddcb1fbfc52574a89
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 bfcb65e..2d41507 100644
--- a/Open-ILS/examples/fm_IDL.xml
+++ b/Open-ILS/examples/fm_IDL.xml
@@ -10147,7 +10147,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