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

Evergreen Git git at git.evergreen-ils.org
Fri Jul 13 10:07:34 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  689c3952dcb546435b4d8c0e06aeff464205d4ff (commit)
      from  f08d08c091ff85337338f6ba12fa281d92b4a18d (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 689c3952dcb546435b4d8c0e06aeff464205d4ff
Author: Dan Scott <dscott at laurentian.ca>
Date:   Fri Jul 13 09:56:54 2012 -0400

    TPAC: Use .staff variant for MARC Expert Search
    
    Inside the staff client, we want to use the .staff method to retrieve
    records that match the MARC Expert Search, so that records with no
    attached copies can be found and returned.
    
    Fixes LP # 1024382.
    
    Signed-off-by: Dan Scott <dscott at laurentian.ca>
    Signed-off-by: Jason Etheridge <jason at esilibrary.com>

diff --git a/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm b/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm
index e4e23e5..005cae3 100644
--- a/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm
+++ b/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm
@@ -616,10 +616,12 @@ sub marc_expert_search {
     }
 
     $self->timelog("Searching for MARC expert");
+    my $method = 'open-ils.search.biblio.marc';
+    $method .= '.staff' if $self->ctx->{is_staff};
     my $timeout = 120;
     my $ses = OpenSRF::AppSession->create('open-ils.search');
     my $req = $ses->request(
-        'open-ils.search.biblio.marc',
+        $method,
         {searches => $query, org_unit => $self->ctx->{search_ou}}, 
         $limit, $offset, $timeout);
 

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

Summary of changes:
 .../perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list