[koha-commits] main Koha release repository branch 19.11.x updated. v19.11.07-7-gafcd1902c0

Git repo owner gitmaster at git.koha-community.org
Mon Jul 13 01:17:47 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  afcd1902c03f72ef61846d3a034c7b5086b3c812 (commit)
       via  55fba122759a85ea5b45a36908d67c310af1ea0c (commit)
       via  429d56d3894cffb4febe45616a3073e95191af67 (commit)
      from  c21ae5e5177ec9180f07fd5639b7e9912aadfdc1 (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 afcd1902c03f72ef61846d3a034c7b5086b3c812
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date:   Thu May 21 18:25:46 2020 -0300

    Bug 25570: (follow-up) Fix tests
    
    This patch fixes the libraries tests, that expected the old behaviour
    
    To test:
    1. Run:
       $ kshell
      k$ prove t/db_dependent/api/v1/libraries.t
    => FAIL: Tests fail
    2. Apply this patch
    3. Repeat 1
    => SUCCESS: Tests pass!
    4. Sign off :-D
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    (cherry picked from commit b115dfeca649f2f35e0290ead85f2626eabd0829)
    
    Signed-off-by: Lucas Gass <lucas at bywatersolutions.com>
    (cherry picked from commit 18051cb02a483dc020afc31b82e3897daba8a793)
    
    Signed-off-by: Aleisha Amohia <aleishaamohia at hotmail.com>

commit 55fba122759a85ea5b45a36908d67c310af1ea0c
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date:   Thu May 21 18:23:01 2020 -0300

    Bug 25570: Paginate results by default in objects->search
    
    This patch makes the helper paginate the resultsif no pagination
    parameters are passed.
    
    Page number defaults to 1, and the page size to the RESTdefaultPageSize
    syspref value.
    
    To test:
    1. Apply the regression tests patch
    2. Run:
       $ kshell
      k$ prove t/db_dependent/Koha/REST/Plugin/Objects.t
    => FAIL: Pagination is not enforced by default
    3. Apply this patch
    4. Repeat 2
    => SUCCESS: Results are paginated
    5. Sign off :-D
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    (cherry picked from commit 451ae76431d3d580494f917ed397f259cd96a876)
    
    Signed-off-by: Lucas Gass <lucas at bywatersolutions.com>
    (cherry picked from commit 16530f09687f48cb621c1a1dfc1559fc35979d51)
    
    Signed-off-by: Aleisha Amohia <aleishaamohia at hotmail.com>

commit 429d56d3894cffb4febe45616a3073e95191af67
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date:   Thu May 21 17:48:21 2020 -0300

    Bug 25570: Regression tests
    
    This tests verify that the default behaviour is to paginate the results.
    
    To test:
    1. Apply this patch
    2. Run:
       $ kshell
      k$ prove t/db_dependent/Koha/REST/Plugin/Objects.t
    => FAIL: $c->objects->search doesn't paginate results by default
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    (cherry picked from commit 2220ce4d50998bef1dcea787d212a287a802b0aa)
    
    Signed-off-by: Lucas Gass <lucas at bywatersolutions.com>
    (cherry picked from commit fc8bde417820d2f287df997a44136ea0b504b0f7)
    
    Signed-off-by: Aleisha Amohia <aleishaamohia at hotmail.com>

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

Summary of changes:
 Koha/REST/Plugin/Objects.pm               |  4 ++++
 t/db_dependent/Koha/REST/Plugin/Objects.t | 22 +++++++++++++++++++++-
 t/db_dependent/api/v1/libraries.t         | 13 ++++++++-----
 3 files changed, 33 insertions(+), 6 deletions(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list