Main Koha release repository https://koha-community.org
Find a file
Julian Maurice 2351693b61
Bug 23156: Add pagination to checkouts in ILS-DI GetPatronInfo service
When patrons have a lot of checkouts, GetPatronInfo can take a lot of
time. This patch introduces two new parameters to allow pagination of
this list of checkouts

Also, fix a warning in C4::ILSDI::Services::GetPatronInfo

Test plan:
1. Go to /cgi-bin/koha/ilsdi.pl?service=GetPatronInfo&patron_id=X&show_loans=1
   where X is a borrowernumber of a patron who has several checkouts
   Verify that all checkouts are listed
2. Add '&loans_per_page=1&loans_page=1' to the URL. Verify that you have
   now only one checkout listed, and that there is a new element
   <total_loans> which contain the total number of checkouts
3. Increase the page number in the URL until you have seen all checkouts
4. prove t/db_dependent/ILSDI_Services.t

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2019-06-25 17:16:26 +01:00
acqui Bug 4833: (QA follow-up) Add budgetname to SearchSuggestion 2019-05-15 16:46:47 +00:00
admin Bug 23034: (RM follow-up) Consistent coding style 2019-06-24 14:49:24 +01:00
api/v1 Bug 23154: Add pagination to /api/v1/checkouts 2019-06-24 16:14:42 +01:00
authorities
basket
C4 Bug 23156: Add pagination to checkouts in ILS-DI GetPatronInfo service 2019-06-25 17:16:26 +01:00
catalogue Bug 22424: Add search by all lost statuses to item search 2019-04-30 13:39:44 +00:00
cataloguing Bug 23117: Shortcut additem.pl on nonexistent biblionumber 2019-06-15 08:01:37 +01:00
circ Bug 23158: Make the assignment statement more readable 2019-06-24 17:14:35 +01:00
clubs
course_reserves
debian Bug 23090: Add some special characters 2019-06-21 10:00:37 +01:00
docs Bug 23130: Add David Nind to contributors 2019-06-20 09:53:56 +01:00
errors
etc Bug 20292: Filter/censor info sent via SIP 2019-06-24 15:33:48 +01:00
ill
installer Bug 23109: (RM follow-up) Correction to typo in DBRev 2019-06-24 18:25:07 +01:00
Koha Bug 22566: Fix some more issues 2019-06-25 17:01:11 +01:00
koha-tmpl Bug 23179: Add 'edit subfields' button to framework management 2019-06-25 17:14:29 +01:00
labels
members Bug 23082: Fatal error editing a restricted patron 2019-06-25 16:49:16 +01:00
misc Bug 22566: (QA follow-up) Fix pod complaint 2019-06-25 17:01:33 +01:00
offline_circ
opac Bug 23156: Add pagination to checkouts in ILS-DI GetPatronInfo service 2019-06-25 17:16:26 +01:00
OpenILS
patron_lists
patroncards
plugins Bug 21073: (QA follow-up) Avoid unnecessary unless/else construct 2019-06-18 17:30:44 +01:00
reports
reserve Bug 23116: AllowHoldPolicyOverride allows a librarian to almost place a hold on an item already on hold 2019-06-25 16:48:20 +01:00
reviews
rotating_collections
serials Bug 11492: (follow-up) Don't pass publisheddatetext param to NewIssue 2019-06-04 09:33:04 +01:00
services
skel
suggestion
svc Bug 23144: (QA follow-up) Fix another POD error in svc/barcode 2019-06-20 09:27:39 +01:00
t Bug 23156: Add pagination to checkouts in ILS-DI GetPatronInfo service 2019-06-25 17:16:26 +01:00
tags
tmp/modified_authorities
tools Bug 22888: Use DataTables for Koha news table filtering 2019-06-24 14:58:02 +01:00
virtualshelves Bug 22941: Do not return 500 if sortfield contain parenthesis 2019-06-15 07:47:02 +01:00
xt
.editorconfig
.gitignore
.htaccess
.mailmap
.scss-lint.yml
about.pl
changelanguage.pl
fix-perl-path.PL
gulpfile.js
help.pl
INSTALL
Koha.pm Bug 23109: DBRev 19.06.00.008 2019-06-24 17:14:36 +01:00
koha_perl_deps.pl
kohaversion.pl
LICENSE Bug 9440 - update Koha's LICENSE file from GPL2 to GPL3 2013-02-12 08:52:10 -05:00
mainpage.pl
Makefile.PL
MANIFEST.SKIP
package.json
README
README.md
README.robots
rewrite-config.PL
yarn.lock

Koha is a free software integrated library system (ILS).

Koha is distributed under the GNU GPL version 3 or later.

Note: This is a synced mirror of the official Koha repo.

Note: Koha does not accept pull requests from git hosting sites.

Note: This project has its own bug tracker, to report a bug or submit a patch visit http://bugs.koha-community.org.

For guidelines on submitting patches for Koha please visit https://wiki.koha-community.org/wiki/SubmitingAPatch

The developers handbook can be found at https://wiki.koha-community.org/wiki/Developer_handbook

http://koha-community.org/

Koha Logo