From 07014d47d09827f9b2b54798fe57a1cc2197a5cd Mon Sep 17 00:00:00 2001 From: Fridolin Somers Date: Thu, 20 Jul 2017 16:08:59 +0200 Subject: [PATCH] Bug 18965 - branch transfer limits pagination save bug In branch transfer limits, tables are paginated with 20 rows by default. The bug is that datatable not only hides rows, they are not in form. So when submitting form, rows not visible are erased. Test plan : Wihout patch : - Create 22 branches, you can hack the creation form by manualling calling URL : /cgi-bin/koha/admin/branches.pl?op=add_validate&branchcode=Bxx&branchname=Bxx - Go to Administration > Library transfer limits - You see table first page : only 20 first rows are shown - You see all checkboxes are checked - Go to second page of this table - Save => You see table first page with all checkboxes unchecked With patch the is no pagination, all checkboxes are shown when you save Signed-off-by: Axelle Clarisse Signed-off-by: Nick Clemens Signed-off-by: Jonathan Druart (cherry picked from commit 7a306d72ab98f2abf2266716761820f1098ede9b) Signed-off-by: Fridolin Somers (cherry picked from commit ca7f2f5aa48d8d5136029d10d8c15ffacf010103) Signed-off-by: Katrin Fischer --- .../prog/en/modules/admin/branch_transfer_limits.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branch_transfer_limits.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branch_transfer_limits.tt index 3d041287da..4794a0c147 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branch_transfer_limits.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branch_transfer_limits.tt @@ -36,7 +36,7 @@ "aoColumnDefs": [ { "aTargets": [ -1 ], "bSortable": false, "bSearchable": false }, ], - "sPaginationType": "four_button" + 'bPaginate': false })); }); //]]> -- 2.39.5