[koha-commits] main Koha release repository branch 3.10.x updated. v3.10.05-12-g6002812

Git repo owner gitmaster at git.koha-community.org
Wed Apr 24 11:15:18 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, 3.10.x has been updated
       via  6002812a220115d9b5b7b083ec931d9098f7af11 (commit)
      from  c1ae7e3765ffb226bb9f5b058a32568b9672edd6 (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 6002812a220115d9b5b7b083ec931d9098f7af11
Author: Magnus Enger <magnus at enger.priv.no>
Date:   Thu Jan 24 23:17:45 2013 +0100

    Bug 9213 - Implement analytics for NORMARC XSLT
    
    Problem:
    Links between anaytics records were not being displayed for NORMARC setups.
    
    What this patch does:
    1. Add indexing for 773 subfield a, w and 9; both for GRS-1 and DOM indexing
       (The DOM indexing config was generated from the GRS-1 record.abs)
    2. Add "analytics links" to NORMARC XSLT files, both for OPAC and intranet
    
    To test:
    - Make sure you have a NORMARC installation
    - Set UseControlNumber = Use
    - Create a parent record with LDR/07=c. Leave 001 empty.
    - In the "Normal" view, do New > New child record and create another record. Do
      this twice (so you get a list of hits when you click on the "Show anaytics"
      links later on).
    
    - Do the following steps both in the OPAC and the Intranet:
      - Search for the parent record in such a way that you can see the record in a
        *result list*
      - Check that the "Show analytics" link is displayed, and uses the title of the
        parent record for linking: ?q=Host-item:<Title of parent record>
      - Clik on the "Show analytics" link and check that you get a result list with
        the two child records you created earlier
      - Go back to the result list and click on the parent record, so you get the
        *detail view*
      - Check that the "Show analytics" link is displayed, and uses the title of the
        parent record for linking: ?q=Host-item:<Title of parent record>
      - Clik on the "Show analytics" link and check that you get a result list with
        the two child records you created earlier
      - Search for one or both of the child records in such a way that you can see
        the record(s) in a *result list*
      - Check that the "In: <Title of parent record>" link is displayed, and that it
        uses the biblionumber of the parent record for linking:
        ?q=Control-number:<biblionumber of parent record>
      - Click on the "In: <Title of parent record>" link, and check that the parent
        record is displayed
      - Go back to the result list and click on the child record, so you get the
        *detail view*
      - Check that the "In: <Title of parent record>" link is displayed, and that it
        uses the biblionumber of the parent record for linking:
        ?q=Control-number:<biblionumber of parent record>
      - Click on the "In: <Title of parent record>" link, and check that the parent
        record is displayed
    
    - Now edit the parent record and put it's biblionumber in 001. Repeat the steps
      above, and check that everything still works, but that the links are different:
      - The "Show analytics" link on the parent record should look like this:
        ?q=rcn:<biblionumber of parent record>+and+(bib-level:a+or+bib-level:b)
      - The "In: <Title of parent record>" link on the child records should be the
        same as it was earlier
    
    - Now set UseControlNumber = "Don't use" and repeat all of the steps above
      - All of the links should still be displayed and work, of course
      - The "In: <Title of parent record>" link on the child records should look
        like this: ?q=ti,phr:<Title of parent record>
      - The "Show analytics" link on the parent record should look like this:
        ?q=Host-item:<Title of parent record>
    
    - Change LDR/07 to "s" and repeat all of the steps above
    - Do all of this both for GRS-1 indexing and for DOM indexing...
    
    Signed-off-by: Chris Cormack <chris at bigballofwax.co.nz>
    
    Signed-off-by: Paul Poulain <paul.poulain at biblibre.com>
    Signed-off-by: Chris Cormack <chrisc at catalyst.net.nz>

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

Summary of changes:
 .../normarc/biblios/biblio-zebra-indexdefs.xml     |  132 +++++++++++---------
 .../normarc/biblios/biblio-zebra-indexdefs.xsl     |   21 +++
 etc/zebradb/marc_defs/normarc/biblios/record.abs   |    3 +
 .../prog/en/xslt/NORMARCslim2intranetDetail.xsl    |   66 ++++++++++
 .../prog/en/xslt/NORMARCslim2intranetResults.xsl   |   68 ++++++++++-
 .../prog/en/xslt/NORMARCslimUtils.xsl              |   19 +++
 .../prog/en/xslt/NORMARCslim2OPACDetail.xsl        |   66 ++++++++++
 .../prog/en/xslt/NORMARCslim2OPACResults.xsl       |   67 ++++++++++
 .../opac-tmpl/prog/en/xslt/NORMARCslimUtils.xsl    |   19 +++
 9 files changed, 400 insertions(+), 61 deletions(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list