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

Evergreen Git git at git.evergreen-ils.org
Fri May 25 14:44:16 EDT 2012


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  8fe840ca0e54d999617c5770009e02d83439ff1d (commit)
      from  912e78d8200e9c2009f34754f3a5d273442a3b52 (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 8fe840ca0e54d999617c5770009e02d83439ff1d
Author: Bill Erickson <berick at esilibrary.com>
Date:   Fri May 25 14:00:44 2012 -0400

    Repair tpac QueryParser bookbag/container filter
    
    The container() filter SQL now JOINs on m.source instead of mrd.id,
    since mrd is not yet defined in the query (and m.source == mrd.id).
    
    Signed-off-by: Bill Erickson <berick at esilibrary.com>
    Signed-off-by: Mike Rylander <mrylander at gmail.com>

diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Driver/Pg/QueryParser.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Driver/Pg/QueryParser.pm
index a3ea1ac..669bf20 100644
--- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Driver/Pg/QueryParser.pm
+++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Driver/Pg/QueryParser.pm
@@ -647,7 +647,7 @@ sub toSQL {
                       $rec_join
                 WHERE c.btype = > . $self->QueryParser->quote_value($ctype) .
                     qq< AND c.id = > . $self->QueryParser->quote_value($cid) .
-                    qq< AND (c.pub IS TRUE $perm_join)) container ON (container.container_item = mrd.id) >;
+                    qq< AND (c.pub IS TRUE $perm_join)) container ON (container.container_item = m.source) >;
         } else {$container = ''};
     } else {
         $container = '';

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

Summary of changes:
 .../Application/Storage/Driver/Pg/QueryParser.pm   |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list