[koha-commits] main Koha release repository branch 19.11.x updated. v19.11.09-31-gc47111785c

Git repo owner gitmaster at git.koha-community.org
Thu Sep 10 07:18:12 CEST 2020


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, 19.11.x has been updated
       via  c47111785c11b82d39de9e6bc9c2c24bbd5e5528 (commit)
       via  fdf5fd0fc20c847ae059580c5fcb9cf3cee61056 (commit)
       via  4506ca63e39a682af6c57c9c844d36ec7dcef0f4 (commit)
      from  ec714bc6cecc6c9fd3be2216288974d4f71591e2 (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 c47111785c11b82d39de9e6bc9c2c24bbd5e5528
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Mon Aug 31 15:25:05 2020 +0200

    Bug 17661: Trivial simplification using += operator
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    (cherry picked from commit c96fabb8c47320dba55372e4b955fb171310adec)
    
    Signed-off-by: Lucas Gass <lucas at bywatersolutions.com>
    (cherry picked from commit 81865f77777273d96169bfe6afa760e11be0c7da)
    
    Signed-off-by: Aleisha Amohia <aleishaamohia at hotmail.com>

commit fdf5fd0fc20c847ae059580c5fcb9cf3cee61056
Author: Nick Clemens <nick at bywatersolutions.com>
Date:   Thu Aug 27 16:27:09 2020 +0000

    Bug 17661: (follow-up) Update regex to support Unicode characters
    
    Rather than limiting initials to [A-Z] we should test for a broad
    range of uppercase letters.
    
    The ES/Zebra changes are slightly different because of Perl vs Java regex
    conventions. POerl may support either, but I found 'Uppercase' to be a bit more explicit
    
    More info here:
    https://perldoc.perl.org/perlunicode.html
    
    TO test:
    Same plan as before but use Ж. as the ending initial
    Confirm the period is preserved and other punctuation removed
    
    Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    (cherry picked from commit 224ac84aeca3b8dba87366925d83b01e0f5c1110)
    
    Signed-off-by: Lucas Gass <lucas at bywatersolutions.com>
    (cherry picked from commit f297fb819c38553899f2cde10b108ca8fa712dce)
    
    Signed-off-by: Aleisha Amohia <aleishaamohia at hotmail.com>

commit 4506ca63e39a682af6c57c9c844d36ec7dcef0f4
Author: Nick Clemens <nick at bywatersolutions.com>
Date:   Thu Nov 2 16:52:53 2017 +0000

    Bug 17661: Ending punctuation causes duplicate facets
    
    The current code for facets doesn't pull strip ending punctuation from facets
    This causes duplicate facets for terms that should be combined
    
    Sometimes series can have different punctuation depending on the field they are in
    Author initials punctuation should be preserved
    
    To test:
    1 - Do search and pull up some records
    2 - Edit some of the records to have authors like:
        Date, C.J.
        Date, C.j.
        Date, C.J .
    3 - Edit the records to have some series statments like:
        830 $aDate, C.J. ;$v5
        830 $aDate, C.J. ; $v5
        830 $aDate, C.J.; $v5
    4 - Add some 490s to the record with first indicator 1 and series like:
        You wouldn't want to--
        You wouldn't want to
        You wouldn't want to..
    5 - Search again and note you have 3 facets each for author and series
    6 - Apply patch
    7 - Repeat
    8 - Now you get 2 facets for author, period not removed when following Upper case immediately, is otherwise
    9 - Now you should have a single series facet
    10 - Switch search engine to ES (index before applying patch)
    11 - Note facets are separate again
    12 - Reset mappings and reindex
       perl misc/search_tools/rebuild_elasticsearch -v -r
    13 - Repeat search, facets combined as above
    
    Signed-off-by: Sarah Cornell <sbcornell at cityofportsmouth.com>
    
    Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    (cherry picked from commit e34f95a1f5eb0fce238ab442553bec5233263a9c)
    
    Signed-off-by: Lucas Gass <lucas at bywatersolutions.com>
    (cherry picked from commit 0bfeb9990181445a14e4858b3d61954c1daf30ce)
    
    Signed-off-by: Aleisha Amohia <aleishaamohia at hotmail.com>

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

Summary of changes:
 C4/Search.pm                                       | 4 +++-
 admin/searchengine/elasticsearch/field_config.yaml | 1 +
 admin/searchengine/elasticsearch/index_config.yaml | 6 ++++++
 3 files changed, 10 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list