[koha-commits] main Koha release repository branch 17.11.x updated. v17.11.10-70-g01281fd

Git repo owner gitmaster at git.koha-community.org
Wed Oct 24 11:31:26 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  01281fdc966395a5e668f7c042bbeeccd8fbcdd9 (commit)
       via  f7ad8af0f77688a6eaf8075a6ba56d77e455263e (commit)
       via  bb0d85b6c1ddd22799a73a40efac95bc574906e7 (commit)
       via  8b62e64bf0b0cd97f13625c776cdd3e4b0bd0e59 (commit)
       via  95086a918e4b11530eb82ef5db76a7190314b230 (commit)
      from  cfdc485809c64e438d3ebd1017ae2ba8c936c410 (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 01281fdc966395a5e668f7c042bbeeccd8fbcdd9
Author: Owen Leonard <oleonard at myacpl.org>
Date:   Wed Oct 3 14:13:49 2018 +0000

    Bug 21479: Fix remove from cart links at the OPAC (should remove only 1)
    
    This patch changes the way biblionumbers are passed to the cart script
    for adding and removing single items. The title's biblionumber is now
    stored in a data-attribute on the links for adding and removing. This
    should be a more robust, unified way to handle these single-item
    operations.
    
    To test, apply the patch and enable the opacbookbag system preference.
    
    Test adding and removing items from the cart from various pages using
    various methods:
    
     - By clicking an "Add to your cart" / "Remove" link in search results
     - By clicking an "Add to your cart" / "Remove" link on a detail page
     - By checking boxes in search results and adding via the dropdown
    
    Each operation should work correctly.
    
    Signed-off-by: David Nind <david at davidnind.com>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
    (cherry picked from commit 2cd49034c43a16c7497f05e94c18396532fceddc)
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    (cherry picked from commit 2d078a18e5e090bcafa64262bb5f8dceed796169)
    Signed-off-by: Fridolin Somers <fridolin.somers at biblibre.com>

commit f7ad8af0f77688a6eaf8075a6ba56d77e455263e
Author: Andreas Roussos <arouss1980 at gmail.com>
Date:   Thu Sep 27 19:05:48 2018 +0300

    Bug 21440: koha-create expects the file passed by $DEFAULTSQL to be in gzip format
    
    koha-create contains a call to `zcat` which fails if the file passed
    as an argument is not in gzip format.
    
    This patch fixes the issue by adding the -f flag to the zcat call in
    koha-create, as per the top-voted answers in the following SE URLs:
    https://unix.stackexchange.com/a/77309
    https://unix.stackexchange.com/a/131944
    
    Test plan:
    1) in /etc/koha/koha-sites.conf, set the DEFAULTSQL variable to point
       to an _uncompressed_ SQL database dump
    2) run `koha-create --create-db instance` and notice how it fails with:
       gzip: /path/to/dump.sql: not in gzip format
    3) apply the patch
    4) notice the extra line of information "The SQL file can be optionally
       compressed with gzip" in koha-sites.conf
    5) run the `koha-create` command again, this time it should work
    6) repeat with DEFAULTSQL pointing to a gzip'd dump, it should work too
    
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    Signed-off-by: Chris Cormack <chrisc at catalyst.net.nz>
    
    Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
    (cherry picked from commit f12dabe6ccd9400a4ae744a5d74bbddcd9f7ac95)
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    (cherry picked from commit 89f0452ba17c54045656ee2654a162fd4a96a744)
    Signed-off-by: Fridolin Somers <fridolin.somers at biblibre.com>

commit bb0d85b6c1ddd22799a73a40efac95bc574906e7
Author: Alex Arnaud <alex.arnaud at biblibre.com>
Date:   Wed Feb 21 13:10:50 2018 +0000

    Bug 10382: Course reserves: handle empty values
    
    Test Plan:
    1) Create an item, do not set a collection code
    2) Add the item to a course, and choose to set a collection code
    3) Ensure the course is enabled, and the collection code is now visible
    4) Disable the course, ensure the collection code is no longer visible
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    
    Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
    
    Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
    (cherry picked from commit 9c6025ccbfd0c57d45fec444ee57e72c3aad512b)
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    (cherry picked from commit e9c0c2263057d7e72013d8a62438803733d2a67f)
    Signed-off-by: Fridolin Somers <fridolin.somers at biblibre.com>

commit 8b62e64bf0b0cd97f13625c776cdd3e4b0bd0e59
Author: Alex Arnaud <alex.arnaud at biblibre.com>
Date:   Thu Mar 9 13:42:04 2017 +0000

    Bug 10382: Add unit tests for course items
    
    Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    
    Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
    
    Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
    (cherry picked from commit 3e6f9b8a1d5b293cfe5a00732e2b6f1371046855)
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    (cherry picked from commit 84bf7c9468a1be39de54a488f41e5c579be86072)
    Signed-off-by: Fridolin Somers <fridolin.somers at biblibre.com>

commit 95086a918e4b11530eb82ef5db76a7190314b230
Author: Kyle M Hall <kyle at bywatersolutions.com>
Date:   Wed Jun 5 10:01:17 2013 -0400

    Bug 10382: collection not returning to null when removed from course reserves
    
    Test Plan:
    1) Create an item, do not set a collection code
    2) Add the item to a course, and choose to set a collection code
    3) Ensure the course is enabled, and the collection code is now visible
    4) Disable the course, ensure the collection code is no longer visible
    
    Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
    
    Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
    
    Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
    (cherry picked from commit b1bb9f9e6b028dce0109755180100e4033424227)
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    (cherry picked from commit 9b428ec7ed43c3926483aa692315efdebb545f7b)
    Signed-off-by: Fridolin Somers <fridolin.somers at biblibre.com>

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

Summary of changes:
 C4/CourseReserves.pm                               |   89 ++-----
 debian/scripts/koha-create                         |    2 +-
 debian/templates/koha-sites.conf                   |    1 +
 .../en/modules/course_reserves/add_items-step2.tt  |   16 +-
 .../en/modules/course_reserves/course-details.tt   |    8 +-
 .../bootstrap/en/includes/opac-bottom.inc          |   17 +-
 .../bootstrap/en/includes/opac-detail-sidebar.inc  |    4 +-
 .../opac-tmpl/bootstrap/en/modules/opac-results.tt |    4 +-
 koha-tmpl/opac-tmpl/bootstrap/js/basket.js         |    5 +-
 t/db_dependent/CourseReserves/CourseItems.t        |  268 ++++++++++++++++++++
 10 files changed, 315 insertions(+), 99 deletions(-)
 create mode 100644 t/db_dependent/CourseReserves/CourseItems.t


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list