]> git.koha-community.org Git - koha.git/commit
Bug 37285: Printing lists only prints the ten first results
authorBaptiste Wojtkowski <bski@laposte.net>
Tue, 9 Jul 2024 14:08:39 +0000 (16:08 +0200)
committerFridolin Somers <fridolin.somers@biblibre.com>
Tue, 10 Sep 2024 14:49:41 +0000 (16:49 +0200)
commit1e52cd7cf251d5399c49aae39355e87d44575fe3
tree02e3b071fd202a4a8246c36a4dafa6970b789438
parent430d2bd46ef4e387d1f0181dae07ffa80ac9a242
Bug 37285: Printing lists only prints the ten first results

GIVEN koha in a version later than 22.11, a list with more than ten entries
WHEN the user tries to print the list
THEN only the ten first results are printed

EXPECTED THEN all results are printed

It looks like it is an undesired effect of BZ36858. Page remains set
even while printing, therefore, however the number of rows is not set,
default value (10) is used.

TEST PLAN

1 - create a list with more than 10 items
2 - print the list -> there is a pagination and that only 10 items
  are printed
Apply patch
3 - print the list again -> every items are being printed

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 64027daadcea8c44cb73aae71a48ac64d527ed3f)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 0f8f20a01fede0991500bff529d540959fea6251)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
virtualshelves/shelves.pl