[koha-commits] main Koha release repository branch 17.11.x updated. v17.11.08-9-g4e87e8b

Git repo owner gitmaster at git.koha-community.org
Mon Jul 30 14:36:18 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, 17.11.x has been updated
       via  4e87e8bb74fa0fe92305cb1befa1aad644b7aa2a (commit)
       via  9b5202cc1e817f0feabca26dc8a167dff6ebd064 (commit)
       via  732374eb9a21ec013366462545f4ab66271c7e8c (commit)
       via  78502222852e6ff5ed3c5cce433f2e87de193358 (commit)
       via  2db20445a130d5632b47e97525a4c781855b6a2e (commit)
       via  ed2cf32df97a75fe462a26dc6b72ce0b6f3e2db0 (commit)
       via  4d5e9c7833a9ebd1b32c210e45016ff37cd6f775 (commit)
      from  7c12f0a591b2b8859b04163aea9c0ab9b4b4d135 (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 4e87e8bb74fa0fe92305cb1befa1aad644b7aa2a
Author: Julian Maurice <julian.maurice at biblibre.com>
Date:   Mon Jun 25 14:14:43 2018 +0200

    Bug 19502: Add POD for max_result_window
    
    Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
    Signed-off-by: Alex Arnaud <alex.arnaud at biblibre.com>
    
    Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    (cherry picked from commit c3576b1adedc4dbcabb1eb833f33194f66db63bf)
    Signed-off-by: Fridolin Somers <fridolin.somers at biblibre.com>

commit 9b5202cc1e817f0feabca26dc8a167dff6ebd064
Author: Julian Maurice <julian.maurice at biblibre.com>
Date:   Mon Jun 25 14:14:32 2018 +0200

    Bug 19502: Remove debug warn
    
    Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
    Signed-off-by: Alex Arnaud <alex.arnaud at biblibre.com>
    
    Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    (cherry picked from commit 1b01e7db0e19f69ab77660cd3a26b1636a7b01e1)
    Signed-off-by: Fridolin Somers <fridolin.somers at biblibre.com>

commit 732374eb9a21ec013366462545f4ab66271c7e8c
Author: Julian Maurice <julian.maurice at biblibre.com>
Date:   Tue Jun 5 15:11:34 2018 +0200

    Bug 19502: Retrieve index.max_result_window from ES
    
    This avoid hardcoding '10000' in two different places and allow users to
    adjust this setting.
    
    Also, this patch fixes a bug when the search return less than 10000
    results
    
    Test plan:
    1. Do a search that returns 10000+ records.
    2. Note the warning above the pagination buttons
    3. Go to the last page, no error
    4. Change the ES setting:
       curl -XPUT http://elasticsearch/koha_master_biblios/_settings -d \
         '{"index": {"max_result_window": 20000}}'
    5. Do another search that returns more than 10000 but less than 20000
    6. Note that the warning does not show up
    7. Go to the last page, still no error
    
    Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
    Signed-off-by: Alex Arnaud <alex.arnaud at biblibre.com>
    
    Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    (cherry picked from commit 619d693908b1eb5de3da0d1bb80cc6c3cbf51ab3)
    Signed-off-by: Fridolin Somers <fridolin.somers at biblibre.com>

commit 78502222852e6ff5ed3c5cce433f2e87de193358
Author: Nick Clemens <nick at bywatersolutions.com>
Date:   Thu Apr 19 23:13:49 2018 +0000

    Bug 19502: (follow-up) Pass parameters to avoid making templates depend on search engine
    
    https://bugs.koha-community.org/show_bug.cgi?id=19502
    
    Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
    Signed-off-by: Alex Arnaud <alex.arnaud at biblibre.com>
    
    Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    (cherry picked from commit 5e98e913dc98ced7167e73932ce865a952db6b1c)
    Signed-off-by: Fridolin Somers <fridolin.somers at biblibre.com>

commit 2db20445a130d5632b47e97525a4c781855b6a2e
Author: Nick Clemens <nick at bywatersolutions.com>
Date:   Fri Mar 16 11:10:37 2018 +0000

    Bug 19502: Limit pagination to first 10000 results when using ES
    
    This patch is to avoid hitting an error page. We should eventually make the
    max number returned configurable for ES.
    
    To test:
    1 - Have Koha running ES with 10,000+ records
    2 - Search for '*'
    3 - Click 'Last' to view last page of results
    4 - 'Cannot perform search' error
    5 - Apply patch
    6 - Search again
    7 - View 'Last' page
    8 - No error, you go to the last of 10000
    9 - Note the warning above the pagination buttons
    
    Signed-off-by: Séverine QUEUNE <severine.queune at bulac.fr>
    
    Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
    Signed-off-by: Alex Arnaud <alex.arnaud at biblibre.com>
    
    Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    (cherry picked from commit 7bff14830df7eab4b9a6c57d017846af4f79da5e)
    Signed-off-by: Fridolin Somers <fridolin.somers at biblibre.com>

commit ed2cf32df97a75fe462a26dc6b72ce0b6f3e2db0
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Fri Jun 29 14:09:07 2018 -0300

    Bug 21009: Fix max length of inputs on editing/adding items
    
    There is a "max length" value you can define at framework level to
    limit the size of the input. But it is not taken into account on the
    add/edit item form.
    
    It is a regression that has been introduced by
      commit 47d2de9c024bfb93d56184f298f334b20685cd86
      Bug 12176: Remove HTML from additem.pl
    
    max_length vs maxlength
    
    Test plan:
    - Define a maximum length for an item subfield
    - Add or edit an item
    => Without this patch the maxlength attribute of the inputs are not
    defined (maxlength="")
    => With this fix you will see the maxlength attributes correctly set
    with the value you defined in the framework
    
    Note:
    We could/should set this value to the size of the DB column when mapped
    For instance 952$u is mapped with items.uri, which is a varchar(255).
    This length restriction should done at framework level
    
    Signed-off-by: Pierre-Luc Lapointe <pierreluc.lapointe at inLibro.com>
    
    Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>
    
    Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    (cherry picked from commit 73e9c077f6543a4b08f3d2e7394c1e667f0d24e5)
    Signed-off-by: Fridolin Somers <fridolin.somers at biblibre.com>

commit 4d5e9c7833a9ebd1b32c210e45016ff37cd6f775
Author: Bernardo Gonzalez Kriegel <bgkriegel at gmail.com>
Date:   Fri May 4 19:49:07 2018 -0300

    Bug 20710: Update MARC21 frameworks to Update 26 (April 2018)
    
    This bug add update 26 changes.
    
    Update 26
    http://www.loc.gov/marc/bibliographic/bdapndxg.html
    
    New subfields 377$3, 380$3, 381$3, 383$3, 730$4
    
    Codes
        Map 007/04 'x' new
        Map 007/06 'c' renamed
    
    No auth changes
    
    To test:
    1) Apply Bug 19835
    2) Apply this patch
    3) Reload marc21 bibliografic frameworks, check loads ok
    4) Clean your browser cache
    5) Edit a new bib record, fire 007 plugin,
        for Map, 04 position, check new 'x'
        for Map, 06 position, check renamed 'c'
    
    Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>
    
    Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
    
    Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    (cherry picked from commit b056933a366c46e16d92d36ee3976fa647f31186)
    Signed-off-by: Fridolin Somers <fridolin.somers at biblibre.com>

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

Summary of changes:
 Koha/SearchEngine/Elasticsearch/Search.pm          |   28 ++++++++++++++++++++
 Koha/SearchEngine/Zebra/Search.pm                  |   10 +++++++
 catalogue/search.pl                                |    5 +++-
 cataloguing/additem.pl                             |   14 +++++-----
 .../marc21/mandatory/authorities_normal_marc21.sql |    2 +-
 .../marc21/mandatory/marc21_framework_DEFAULT.sql  |    7 ++++-
 .../prog/en/includes/page-numbers.inc              |    1 +
 .../prog/en/modules/catalogue/results.tt           |    1 -
 .../cataloguing/value_builder/marc21_field_007.tt  |   13 +++++++--
 .../bootstrap/en/includes/page-numbers.inc         |    1 +
 .../bootstrap/en/includes/search/page-numbers.inc  |    1 +
 opac/opac-search.pl                                |    5 +++-
 .../Koha_SearchEngine_Elasticsearch_Search.t       |   15 +++++++++--
 13 files changed, 87 insertions(+), 16 deletions(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list