Bug 13459: Fix datatables paging for admin > itemtypes
authorKatrin Fischer <Katrin.Fischer.83@web.de>
Sat, 27 Dec 2014 11:58:52 +0000 (12:58 +0100)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Wed, 7 Jan 2015 23:08:16 +0000 (20:08 -0300)
To test:
- Go to administration > itemtypes
- Verify the display of the paging options is broken
- Apply patch
- Verify the display is now correct and works nicely

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/itemtypes.tt

index 9a691fb..1a008c8 100644 (file)
@@ -31,7 +31,8 @@ Data deleted
                 { "aTargets": [ -1 ], "bSortable": false, "bSearchable": false },
             ],
             "aaSorting": [[ 2, "asc" ]],
-            "iDisplayLength": 10
+            "iDisplayLength": 10,
+            "sPaginationType": "four_button"
         }));
         $( "#itemtypeentry" ).validate({
             rules: {