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.05.x has been updated
via 7ed966fc0b4c278b483ba34dc6e0180aee4ba551 (commit)
via 8c4b82b604975446aafafb7f2b95f545b7424af8 (commit)
via ddbdc549c45399ed4610ae8e47459860b27a69a3 (commit)
from 3b4064ca8ead9279f5e2ef3e78c5bff7f6aa4466 (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 7ed966fc0b4c278b483ba34dc6e0180aee4ba551
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]>
(cherry picked from commit 16530f09687f48cb621c1a1dfc1559fc35979d51)
Signed-off-by: Aleisha Amohia <[email protected]>
(cherry picked from commit 55fba122759a85ea5b45a36908d67c310af1ea0c)
Signed-off-by: Victor Grousset/tuxayo <[email protected]>
commit 8c4b82b604975446aafafb7f2b95f545b7424af8
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]>
(cherry picked from commit 18051cb02a483dc020afc31b82e3897daba8a793)
Signed-off-by: Aleisha Amohia <[email protected]>
(cherry picked from commit afcd1902c03f72ef61846d3a034c7b5086b3c812)
Signed-off-by: Victor Grousset/tuxayo <[email protected]>
commit ddbdc549c45399ed4610ae8e47459860b27a69a3
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]>
(cherry picked from commit fc8bde417820d2f287df997a44136ea0b504b0f7)
Signed-off-by: Aleisha Amohia <[email protected]>
(cherry picked from commit 429d56d3894cffb4febe45616a3073e95191af67)
Signed-off-by: Victor Grousset/tuxayo <[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