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, 20.05.x has been updated
       via  18051cb02a483dc020afc31b82e3897daba8a793 (commit)
       via  16530f09687f48cb621c1a1dfc1559fc35979d51 (commit)
       via  fc8bde417820d2f287df997a44136ea0b504b0f7 (commit)
      from  e6d22b9e9fa4169a8fb0e283e460d05c09276498 (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 18051cb02a483dc020afc31b82e3897daba8a793
Author: Tomas Cohen Arazi <[email protected]>
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 <[email protected]>
    Signed-off-by: Martin Renvoize <[email protected]>
    
    Signed-off-by: Jonathan Druart <[email protected]>
    (cherry picked from commit b115dfeca649f2f35e0290ead85f2626eabd0829)
    
    Signed-off-by: Lucas Gass <[email protected]>

commit 16530f09687f48cb621c1a1dfc1559fc35979d51
Author: Tomas Cohen Arazi <[email protected]>
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 <[email protected]>
    Signed-off-by: Martin Renvoize <[email protected]>
    
    Signed-off-by: Jonathan Druart <[email protected]>
    (cherry picked from commit 451ae76431d3d580494f917ed397f259cd96a876)
    
    Signed-off-by: Lucas Gass <[email protected]>

commit fc8bde417820d2f287df997a44136ea0b504b0f7
Author: Tomas Cohen Arazi <[email protected]>
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 <[email protected]>
    Signed-off-by: Martin Renvoize <[email protected]>
    
    Signed-off-by: Jonathan Druart <[email protected]>
    (cherry picked from commit 2220ce4d50998bef1dcea787d212a287a802b0aa)
    
    Signed-off-by: Lucas Gass <[email protected]>

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

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
_______________________________________________
koha-commits mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-commits

Reply via email to