https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15219

--- Comment #65 from Julian Maurice <[email protected]> ---
Created attachment 185742
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=185742&action=edit
Bug 15219: Add pagination on checkouts tables

Some libraries have patrons with more than 1000 checkouts. Loading all
of them at once can be very long, and sometimes can cause timeout
errors.
This patch prevent that by enabling pagination on checkouts tables.
This affects patron's checkouts and patron's relatives' checkouts tables
on pages circ/circulation.pl and members/moremember.pl.

As pagination can be useless and cumbersome with small
sets of data, a new system preference is introduced to control this
behaviour (pagination is disabled by default).

Additionally, this patch adds a switch to turn off and on row grouping
(today's checkouts vs previous checkouts) (on by default)

Test plan:
1. Find (or create) a patron that have at least 10 checkouts and where
   the relatives checkouts table contain at least 10 checkouts.
2. Go to the patron's detail page and check everything works fine
   in both tables (sorting, pagination, the data itself, ...)
3. Do the same on circulation page (circulation.pl)
4. Enable system preference ServerSideCheckoutsTable
5. Repeat steps 2 and 3

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to