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

Git repo owner gitmaster at git.koha-community.org
Thu Oct 10 20:41:46 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  5298140c67d7494df48b9e9e5b5bfa59133e1b39 (commit)
       via  2173a97b292a83dcf89a564b1ffe8adb73e7ae4d (commit)
      from  c9b09051e741ef7e74368e4c1ad52bdb0b7c32f4 (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 5298140c67d7494df48b9e9e5b5bfa59133e1b39
Author: Mathieu Saby <mathieu.saby at univ-rennes2.fr>
Date:   Wed Apr 17 11:40:06 2013 +0200

    Bug 10037: fix item index in UNIMARC DOM indexing
    
    In UNIMARC DOM indexing, "item" index was working only for subfields
    of 995 field mapped with specific indexes, and also in index (ex :
    $a, $b...). It was not working for the other subfields (ex : $g),
    because a comment from record.abs was integrated in DOM config files.
    
    This patch removes the comment.
    
    To test, in a DOM UNIMARC environment :
    1) In a item, write some value "Test10037" in 995$g
    2) Search for this value in simple search, this way : item=Test10037
       => you should have no results
    3) Apply the patch. if necessary, copy the modified
       etc/zebradb/marc_defs/unimarc/biblios/biblio-koha-indexdefs.xml and
       etc/zebradb/marc_defs/unimarc/biblios/biblio-zebra-indexdefs.xsl into
       the /etc/... directory in your main Koha directory
    4) Reindex Zebra biblios
    5) Do the same search as 2) => you should have one result
    
    Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel at gmail.com>
    Work as described. No koha-qa errors.
    
    Test
    
    NOTE: default UNIMARC framework don't have 995g,
    so I must add it first.
    
    1) Added test string to 995b on some record
    2) Reindex and search as indicated, no results
    3) cp files to destination
    4) reindex
    5) search and result ok !
    
    Signed-off-by: Jonathan Druart <jonathan.druart at biblibre.com>
    Signed-off-by: Galen Charlton <gmc at esilibrary.com>

commit 2173a97b292a83dcf89a564b1ffe8adb73e7ae4d
Author: Galen Charlton <gmc at esilibrary.com>
Date:   Thu Oct 10 18:50:13 2013 +0000

    Bug 10037: regression test for searching UNIMARC item index in DOM mode
    
    This patch adds a regression test that verifies that searching the
    UNIMARC 'item' index for a value that is indexed by virtue of being
    included in the fallback index definition for the 995 field works for
    both GRS-1 and DOM.
    
    The main patch will allow t/db_dependent/Search.t to pass.
    
    Signed-off-by: Galen Charlton <gmc at esilibrary.com>

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

Summary of changes:
 etc/zebradb/marc_defs/unimarc/biblios/biblio-koha-indexdefs.xml  |    2 +-
 etc/zebradb/marc_defs/unimarc/biblios/biblio-zebra-indexdefs.xsl |    2 +-
 t/db_dependent/Search.t                                          |    4 +++-
 3 files changed, 5 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list