[koha-commits] main Koha release repository branch master updated. v3.12.00-beta1-721-gdd7fbbd

Git repo owner gitmaster at git.koha-community.org
Mon Jun 17 22:31:38 CEST 2013


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 "main Koha release repository".

The branch, master has been updated
       via  dd7fbbd70d5004c7fcf3b9d6a1b26c73d3fcebaa (commit)
      from  85d1e35b6c377618882a985662dcc7fb7e7aba48 (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 dd7fbbd70d5004c7fcf3b9d6a1b26c73d3fcebaa
Author: Fridolyn SOMERS <fridolyn.somers at biblibre.com>
Date:   Thu Feb 28 12:36:24 2013 +0100

    Bug 9728: XISBN use bibliographic search instead of SQL to fetch related bibs
    
    XISBN API uses normalized ISBN of a biblio to get a list of ISBNs
    of related editions, then searched via SQL in database for biblios
    with those ISBNs.
    
    I noticed that if input ISBN has hyphens, the ISBNs returned by the
    OCLC XISBN service also have hyphens; otherwise, if the input ISBN
    doesn't have hyphens, the returned ISBNs don't either.
    
    Consequently, an SQL query on biblioitems.isbn may not turn up
    the right biblios.
    
    Also, if biblio has several ISBNs, only first one can be found with
    the original SQL query (isbn LIKE '$xisbn%').
    
    This patch replaces SQL query by a simple search "nb=$xisbn". This will
    find biblio from ISBN with or without hyphen.
    
    Test plan :
    - Activate FRBRizeEditions and XISBN sysprefs
    - Go to a biblio witch has several editions
    - Note its normalized ISBN (you may look in amazon links)
    - Replace [ISBN] by biblio normalized ISBN in this URL : http://xisbn.worldcat.org/webservices/xid/isbn/[ISBN]?method=getEditions&format=xml&fl=form,year,lang,ed
    - Go to this URL and see which ISBNs are returned
    - Perform a simple search on thoses ISBNs : nb:1234567890
    - Look at "Editions" tab
    => Check that diplayed biblios are the same you found by simple search
    
    Signed-off-by: jmbroust <jean-manuel.broust at univ-lyon2.fr>
    Signed-off-by: Chris Cormack <chris at bigballofwax.co.nz>
    Signed-off-by: Galen Charlton <gmc at esilibrary.com>

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

Summary of changes:
 C4/XISBN.pm |   24 +++++++++++++-----------
 1 files changed, 13 insertions(+), 11 deletions(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list