[koha-commits] main Koha release repository branch 18.05.x updated. v18.05.01-31-g6ad2c14

Git repo owner gitmaster at git.koha-community.org
Mon Jul 2 10:28:31 CEST 2018


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, 18.05.x has been updated
       via  6ad2c1402fa3a8d419a357233a6e4ad19e58a3db (commit)
      from  9d96e2142140b8184e77da038fde51c0f7000c87 (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 6ad2c1402fa3a8d419a357233a6e4ad19e58a3db
Author: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Date:   Thu May 3 12:33:19 2018 +0200

    Bug 20697: Bind calling GetAnalyticsCount to pref EasyAnalyticalRecords
    
    If you do not use the EasyAnalyticalRecords feature (introduced with
    bug 5528), you will have a lot of warnings in zebra-output.log like:
    
    zebrasrv(1096) [request] Search biblios ERROR 114 1 1+0 RPN @attrset Bib-1 @attr 1=8911 259186
    
    They come from C4::Items::GetAnalyticsCount called by catalogue/detail.pl.
    This sub starts a Zebra search on index 'hi' (Host-Item-Number).
    If you do not use this field at all (related to 773$9 in MARC21), Zebra
    returns an Unsupported Use attribute error (114).
    
    In making this change, I added one minor change:
    [1] Remove the commented GetAnalyticsCount in additem.pl and correcting
        indentation in that loop (removing tabs). So no change at all there.
    
    NOTE: I will propose to bind the GetHostItemsInfo call in detail.pl and two
    other scripts to this preference too on report 20702.
    
    Test plan:
    [1] If you use EasyAnalytics, verify that there is no change.
    [2] If you do not, check the zebra-output.log. You should no longer see
        searches for Host-Item-Number with 1=8911. (As well as ERROR 114 on
        this index.)
    
    Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
    
    Signed-off-by: Charles Farmer <charles.farmer at inLibro.com>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    
    Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

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

Summary of changes:
 catalogue/detail.pl    |    2 +-
 cataloguing/additem.pl |   26 ++++++++++----------------
 2 files changed, 11 insertions(+), 17 deletions(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list