[koha-commits] main Koha release repository branch 18.05.x updated. v18.05.04-79-g22acd34

Git repo owner gitmaster at git.koha-community.org
Mon Oct 15 15:49:17 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  22acd346c07604006f188aef5f8af0a147f37880 (commit)
       via  c5236f1d66e1baeb4d365288b1a78908ed48fc10 (commit)
       via  2170698ab9da24d306286991b55257c4c3317e65 (commit)
       via  b0f3bc8c134c195e3d943a0f7f9d5ff6a064da79 (commit)
      from  ef93ed60acf10d47a92669490eff1acda3abc135 (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 22acd346c07604006f188aef5f8af0a147f37880
Author: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Date:   Mon Oct 15 14:34:21 2018 +0100

    Bug 21493: Compiled CSS
    
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

commit c5236f1d66e1baeb4d365288b1a78908ed48fc10
Author: Owen Leonard <oleonard at myacpl.org>
Date:   Mon Oct 15 13:18:33 2018 +0000

    Bug 21493: (18.05.x) Remove incomplete icon style from serial issues tabs
    
    This patch adds CSS to exclude serial issues history links from having
    an icon background. There is no part of the icon sprite which is
    designed for that purpose.
    
    This patch also tweaks the positioning of a couple of icons.
    
    To test, apply the patch and regenerate the OPAC CSS
    (https://wiki.koha-community.org/wiki/Working_with_Bootstrap_OPAC_LESS_files).
    
    - Open the detail page for a bibliographic record in the OPAC which has
      subscriptions.
    - Click the "More details" link.
    - Confirm that the "Brief history" and "Full history" links have no
      icon.
    - Click the "Full history" link and do the same.
    - On the normal, MARC, and ISBD views, confirm that the icons for those
      links look correct.
    
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

commit 2170698ab9da24d306286991b55257c4c3317e65
Author: Fridolin Somers <fridolin.somers at biblibre.com>
Date:   Wed Feb 7 15:06:56 2018 +0100

    Bug 20151: always use current language for stemming
    
    When stemming is enabled, in catalog searching "C4::Search::_build_stemmed_operand" will transform query operand into stemmed operand using stemmer Lingua::Stem::Snowball with a specified language.
    This stemmer returns undef stemmed operand if no language is defined.
    
    In main catalog search (catalogue/search.pl) current language is used.
    But in other pages "acqui/neworderbiblio.pl" and "cataloguing/addbooks.pl" no language is defined so stemmed operand is empty and so stemming is not applied.
    
    This patch corrects by returning in "C4::Search::_build_stemmed_operand" operand without change if no langage is defined.
    And uses current langage in pages "acqui/neworderbiblio.pl" and "cataloguing/addbooks.pl" so all catalog search uses stemming.
    
    Test plan :
    1) Enable system preferences QueryStemming and QueryWeightFields
    2) Disable system preferences QueryAutoTruncate, QueryFuzzy and UseQueryParser
    3) Go to intranet main page and click on "Search the catalog" tab
    4) Perform a search (without index) that uses the stemming, for example searching for "years" will also match "year"
    5) Note how many results you get, for example "year" gets 24 results and "years" gets 24 results
    6) Go to "Cataloging" module
    7) Perform a search on same word in "Cataloging search" tab
    8) Note how many results you get
    9) Without patch you get fewer results than first search (step 5) because stemming is not applied, for example "year" gets 11 results and "years" gets 15 results
    10) With patch you get the same results as first search (step 5) because stemming is applied, for example "year" and "years" gets 24 results
    11) Same tests in aquisition module
    12) On a basket, click "Add to basket" and perform a search in "From an existing record"
    
    Signed-off-by: David Nind <david at davidnind.com>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    
    Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
    (cherry picked from commit 78a692dee4523d04986ec394442c3a6d80ea0771)
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

commit b0f3bc8c134c195e3d943a0f7f9d5ff6a064da79
Author: Fridolin Somers <fridolin.somers at biblibre.com>
Date:   Fri Sep 21 11:17:25 2018 +0200

    Bug 21389: Correct Javascript error on article requests page
    
    Bug 21076 fixed a Javascript error on article requests page when patron is found.
    
    There is also an error when patron is not found, with message :
      Patron not found
      No patron with this name, please, try another
    
    This patch fixes by replacing TT condition by a JS condition testing the existance of the patron input.
    
    Test plan:
    1 - Do not apply patch
    2 - Enable article requests
    3 - Search on staff client and click 'Request article'
    4 - Search for a patron that does not exist
    5 - You get a yellow message "Patron not found"
    6 - View error in console
    7 - Apply patch
    8 - Reload
    9 - Not error is gone
    10 - Search for a patron that does exist
    11 - Check there is no error in console
    12 - Check that autocompletion works
    
    Signed-off-by: Owen Leonard <oleonard at myacpl.org>
    Signed-off-by: Chris Cormack <chrisc at catalyst.net.nz>
    
    Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
    (cherry picked from commit b27db0fbfc0b715df1b63c57228a9945d4834f29)
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

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

Summary of changes:
 C4/Search.pm                                                 |    3 +++
 acqui/neworderbiblio.pl                                      |    5 ++++-
 cataloguing/addbooks.pl                                      |    5 ++++-
 .../intranet-tmpl/prog/en/modules/circ/request-article.tt    |    4 ++--
 koha-tmpl/opac-tmpl/bootstrap/css/opac.css                   |    2 +-
 koha-tmpl/opac-tmpl/bootstrap/less/opac.less                 |   10 ++++++++--
 6 files changed, 22 insertions(+), 7 deletions(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list