[koha-commits] main Koha release repository branch master updated. v18.11.00-971-g7750296

Git repo owner gitmaster at git.koha-community.org
Thu Mar 28 17:17:55 CET 2019


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  775029660cb6498e13b95434f213b3299804bc31 (commit)
       via  13ca80c20bb7461b1007bdbfddfde2ae3a5d2d1f (commit)
       via  d1bd416341bca9824b08c2c2b24d5c32f8730dc3 (commit)
       via  e2394f62438dfdd6cabf128cb76d0a4847aba202 (commit)
       via  59918a3c2146a0e558125e246d0ac1b300189cf8 (commit)
       via  ffef0c0027f81e5420445c33b4f14dfebea9a5b5 (commit)
       via  7cfeb543747cea87223cfaa7e380f48df754a017 (commit)
       via  450fbad7512b01da1ec4300b8443210281e6e3d3 (commit)
       via  915b4861fbd30b66898d834ac20e2ed55d011059 (commit)
       via  eba63272995b7f71815cd6e0028a55a2a042bd6f (commit)
       via  b311938370568a7b43d31392e0f266f45a1fdc2a (commit)
       via  cbfeaca85998f77686a4c6860e21d1e7e02c9770 (commit)
       via  5170880f7a1040240b15b0dd29fff6e6f7fff6b2 (commit)
       via  6ec68be83af08945d6b49c7335b7b19f807c645a (commit)
       via  bd2758c2141187289edf9047b9e5abe8d3c00b70 (commit)
       via  854a7503764098ac348d637abeb1d13dd7ed02b1 (commit)
       via  565cf4ac4032c77a15d05709bda1043b1b3c5949 (commit)
       via  bdb1652360530fb8dd66155fd8bcc2c2d3a6da72 (commit)
       via  b47e01cdc2affce3f0272b0ffe3c4890b1281be0 (commit)
       via  856425db1e156ee4faf1aae70b0a78845711ba43 (commit)
       via  e85294a738da7cce2a4897998ffa795f977b4cd7 (commit)
       via  d522d80c5cdb1f9c097e028499815dca6e9259cf (commit)
      from  3c69e084d7b1fd75dd04f5dc35fb99ceca9efb39 (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 775029660cb6498e13b95434f213b3299804bc31
Author: Nick Clemens <nick at bywatersolutions.com>
Date:   Thu Mar 28 15:44:47 2019 +0000

    Bug 18213: DBRev 18.12.00.033
    
    Signed-off-by: Nick Clemens <nick at bywatersolutions.com>

commit 13ca80c20bb7461b1007bdbfddfde2ae3a5d2d1f
Author: Nick Clemens <nick at bywatersolutions.com>
Date:   Thu Mar 15 12:53:13 2018 +0000

    Bug 18213: (follow-up) Correctly sort facets
    
    Previously we sorted alphabetically - that works for 1-9.
    With a 10th facet category we should sort numerically
    
    Signed-off-by: Nicolas Legrand <nicolas.legrand at bulac.fr>
    Signed-off-by: Alex Arnaud <alex.arnaud at biblibre.com>
    
    Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
    
    Signed-off-by: Nick Clemens <nick at bywatersolutions.com>

commit d1bd416341bca9824b08c2c2b24d5c32f8730dc3
Author: Nick Clemens <nick at bywatersolutions.com>
Date:   Fri Jul 7 10:44:57 2017 +0000

    Bug 18213: Add Template plugin and fix for C4/Languages
    
    Signed-off-by: Nicolas Legrand <nicolas.legrand at bulac.fr>
    Signed-off-by: Alex Arnaud <alex.arnaud at biblibre.com>
    
    Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
    
    Signed-off-by: Nick Clemens <nick at bywatersolutions.com>

commit e2394f62438dfdd6cabf128cb76d0a4847aba202
Author: Nick Clemens <nick at bywatersolutions.com>
Date:   Thu Jul 6 09:41:31 2017 +0000

    Bug 18213: DB Update (facet order)
    
    Signed-off-by: Nicolas Legrand <nicolas.legrand at bulac.fr>
    Signed-off-by: Alex Arnaud <alex.arnaud at biblibre.com>
    
    Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
    
    Signed-off-by: Nick Clemens <nick at bywatersolutions.com>

commit 59918a3c2146a0e558125e246d0ac1b300189cf8
Author: Nick Clemens <nick at bywatersolutions.com>
Date:   Wed Jul 5 12:11:35 2017 +0000

    Bug 18213: Add language facets to Elasticsearch
    
    This patch add language as a facet to ES results - it adds
    a new template plugin for languages to get the appropriate
    description given an iso 639-2 code
    
    To test:
    1 - Make sure you have records with differing languages (in the MARC21 008
            field characters 35-37 or UNIMARC 101a)
    2 - Apply patch
    3 - Reload Elasticsearch settings:
    http://localhost:8081/cgi-bin/koha/admin/searchengine/elasticsearch/mappings.pl?op=reset&i_know_what_i_am_doing=1
    4 - Reindex your records
    5 - Search for a phrase that will return results in several languages
    6 - Verify you see factes correctly labelled for 'Language'
    7 - Verify the facets work
    8 - Verify both opac and staff results
    9 - prove t/db_dependent/Languages.t
    
    Signed-off-by: Nicolas Legrand <nicolas.legrand at bulac.fr>
    Signed-off-by: Alex Arnaud <alex.arnaud at biblibre.com>
    
    Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
    
    Signed-off-by: Nick Clemens <nick at bywatersolutions.com>

commit ffef0c0027f81e5420445c33b4f14dfebea9a5b5
Author: Nick Clemens <nick at bywatersolutions.com>
Date:   Thu Mar 28 15:57:13 2019 +0000

    Bug 18235: (follow-up) fix tests and remove trailing space
    
    Signed-off-by: Nick Clemens <nick at bywatersolutions.com>

commit 7cfeb543747cea87223cfaa7e380f48df754a017
Author: Nick Clemens <nick at bywatersolutions.com>
Date:   Thu Mar 28 15:41:22 2019 +0000

    Bug 18235: DBRev 18.12.00.032
    
    Signed-off-by: Nick Clemens <nick at bywatersolutions.com>

commit 450fbad7512b01da1ec4300b8443210281e6e3d3
Author: Nick Clemens <nick at bywatersolutions.com>
Date:   Thu Mar 28 15:12:52 2019 +0000

    Bug 18235: (RM follow-up) fix mappings reset
    
    Without this we could not recreate mappings as there are no defaults for
    the additional fields - this restores behavoiur from before patches
    
    Signed-off-by: Nick Clemens <nick at bywatersolutions.com>

commit 915b4861fbd30b66898d834ac20e2ed55d011059
Author: Josef Moravec <josef.moravec at gmail.com>
Date:   Sat Mar 23 09:29:52 2019 +0000

    Bug 18235: (QA follow-up) Restore facet_order for su-geo field in mappings file
    
    Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
    
    Signed-off-by: Nick Clemens <nick at bywatersolutions.com>

commit eba63272995b7f71815cd6e0028a55a2a042bd6f
Author: Josef Moravec <josef.moravec at gmail.com>
Date:   Fri Mar 8 07:34:09 2019 +0000

    Bug 18235: (QA follow-up) Series facet name after rebase
    
    Bug 19575 changes many field names so "se" facet field became "title-series"
    
    Signed-off-by: Nick Clemens <nick at bywatersolutions.com>

commit b311938370568a7b43d31392e0f266f45a1fdc2a
Author: Josef Moravec <josef.moravec at gmail.com>
Date:   Mon Mar 4 13:52:19 2019 +0000

    Bug 18235: (QA follow-up) Make db update idempotent
    
    Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
    
    Signed-off-by: Nick Clemens <nick at bywatersolutions.com>

commit cbfeaca85998f77686a4c6860e21d1e7e02c9770
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Sun Mar 3 21:36:22 2019 -0300

    Bug 18235: Do not call get_facetable_fields excessively
    
    Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
    
    Signed-off-by: Nick Clemens <nick at bywatersolutions.com>

commit 5170880f7a1040240b15b0dd29fff6e6f7fff6b2
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Sun Mar 3 21:23:12 2019 -0300

    Bug 18235: Update facet_order default value in atomic update
    
    Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
    
    Signed-off-by: Nick Clemens <nick at bywatersolutions.com>

commit 6ec68be83af08945d6b49c7335b7b19f807c645a
Author: Josef Moravec <josef.moravec at gmail.com>
Date:   Fri Mar 1 06:59:48 2019 +0000

    Bug 18235: (QA follow-up) Add missing filters
    
    Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
    
    Signed-off-by: Nick Clemens <nick at bywatersolutions.com>

commit bd2758c2141187289edf9047b9e5abe8d3c00b70
Author: Josef Moravec <josef.moravec at gmail.com>
Date:   Fri Mar 1 06:59:15 2019 +0000

    Bug 18235: (QA follow-up) Fix POD
    
    Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
    
    Signed-off-by: Nick Clemens <nick at bywatersolutions.com>

commit 854a7503764098ac348d637abeb1d13dd7ed02b1
Author: Alex Arnaud <alex.arnaud at gmail.com>
Date:   Fri Mar 23 15:55:09 2018 +0000

    Bug 18235: Add unit tests for get_facetable_fields
    
    Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
    
    Signed-off-by: Nick Clemens <nick at bywatersolutions.com>

commit 565cf4ac4032c77a15d05709bda1043b1b3c5949
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Wed Mar 8 15:25:55 2017 -0300

    Bug 18235: DB changes
    
    Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
    
    Signed-off-by: Nicolas Legrand <nicolas.legrand at bulac.fr>
    
    Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
    
    Signed-off-by: Nick Clemens <nick at bywatersolutions.com>

commit bdb1652360530fb8dd66155fd8bcc2c2d3a6da72
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Fri Apr 20 10:44:03 2018 -0300

    Bug 18235: Add missing POD to get_facetable_fields
    
    Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
    
    Signed-off-by: Nick Clemens <nick at bywatersolutions.com>

commit b47e01cdc2affce3f0272b0ffe3c4890b1281be0
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Wed Mar 8 12:04:46 2017 -0300

    Bug 18235: ES - Facets configurable
    
    This patch adds a new section 'Facet order' in the Biblio tab of the
    'Search engine configuration' admin page of the Elastic mappings.
    The idea is to let the librarians define the facet to display and order
    them as their needs.
    
    The ergonomic is not perfect and I am open to any suggestions.
    
    Test plan:
    Move up and down the field list to order the facets
    Hide/show some facets
    Rebuild index
    At the OPAC and the staff interface you should see the changes on the
    search result page.
    
    Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
    
    Signed-off-by: Nicolas Legrand <nicolas.legrand at bulac.fr>
    
    Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
    
    Signed-off-by: Nick Clemens <nick at bywatersolutions.com>

commit 856425db1e156ee4faf1aae70b0a78845711ba43
Author: Julian Maurice <julian.maurice at biblibre.com>
Date:   Fri Mar 8 10:12:50 2019 +0100

    Bug 21049: Set 007/00 when selecting material type (Rancor)
    
    There is a 1-1 relationship between the material type values and the
    position 00 of 007 field. Selecting a material type should set this
    position's value.
    
    Signed-off-by: Liz Rea <wizzyrea at gmail.com>
    
    Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
    
    Signed-off-by: Nick Clemens <nick at bywatersolutions.com>

commit e85294a738da7cce2a4897998ffa795f977b4cd7
Author: Julian Maurice <julian.maurice at biblibre.com>
Date:   Wed Mar 6 08:43:18 2019 +0100

    Bug 21049: Fix value of material select for Rancor 007 widget
    
    The material type is selected in accordance with position 0 of 007
    
    Test plan:
    1. Create a new record using the advanced editor
    2. Select a material type for field 007 and set at least the position 0
       of this field
    3. Save the record and reload the page
    4. The material type should remain selected
    5. Try with all available material types
    
    Signed-off-by: Liz Rea <wizzyrea at gmail.com>
    
    Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
    
    Signed-off-by: Nick Clemens <nick at bywatersolutions.com>

commit d522d80c5cdb1f9c097e028499815dca6e9259cf
Author: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Date:   Wed Mar 27 13:55:05 2019 +0000

    Bug 22593: Fix bad ternaries after bug 22008
    
    A series of ternaries were introduced when we moved to add_debit which
    defaulted to 'user 0' should a userenv not be set.  This was incorrect
    as userenv may well not be set (during cronscript runs for example) and
    the new constraint would not allow such a default. We switch to 'undef'
    here to satisfy the constraint.
    
    Test plan
    1) Ensure you have data in your system that would be caught by the
    longoverdues cronjob.
    2) Ensure you're sysprefs are setup to charge for lost items
    3) Run the script and varify it runs to completion without errors
    
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    
    Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
    
    Signed-off-by: Nick Clemens <nick at bywatersolutions.com>

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

Summary of changes:
 C4/Accounts.pm                                     |    7 +-
 C4/Circulation.pm                                  |    2 +-
 C4/Languages.pm                                    |   18 +++
 C4/Reserves.pm                                     |    2 +-
 Koha.pm                                            |    2 +-
 Koha/Hold.pm                                       |    2 +-
 Koha/Patron.pm                                     |    2 +-
 Koha/Schema/Result/SearchField.pm                  |   13 +-
 Koha/SearchEngine/Elasticsearch.pm                 |   39 +++++-
 Koha/SearchEngine/Elasticsearch/QueryBuilder.pm    |   13 +-
 Koha/SearchEngine/Elasticsearch/Search.pm          |   33 +++--
 .../Plugin/{Categories.pm => Languages.pm}         |   39 +++---
 admin/searchengine/elasticsearch/mappings.pl       |   35 ++++--
 admin/searchengine/elasticsearch/mappings.yaml     |   16 ++-
 installer/data/mysql/kohastructure.sql             |    1 +
 installer/data/mysql/updatedatabase.pl             |   25 ++++
 .../intranet-tmpl/lib/koha/cateditor/widget.js     |    2 +-
 .../prog/en/includes/cateditor-widgets-marc21.inc  |   33 ++++-
 .../intranet-tmpl/prog/en/includes/facets.inc      |    3 +
 .../admin/searchengine/elasticsearch/mappings.tt   |   72 +++++++++--
 .../bootstrap/en/includes/opac-facets.inc          |    3 +
 t/db_dependent/Koha_Elasticsearch.t                |  132 ++++++++++++++++++++
 t/db_dependent/Languages.t                         |    8 +-
 23 files changed, 423 insertions(+), 79 deletions(-)
 copy Koha/Template/Plugin/{Categories.pm => Languages.pm} (51%)
 create mode 100644 t/db_dependent/Koha_Elasticsearch.t


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list