Bug 13858: Datatables paging on Koha news tool page slightly broken
authorKatrin Fischer <Katrin.Fischer.83@web.de>
Tue, 17 Mar 2015 23:01:29 +0000 (00:01 +0100)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Wed, 18 Mar 2015 23:17:37 +0000 (20:17 -0300)
The paging is slightly broken in the datatables table on the
news page in the tools module.

To test:
- Access the tools > news page
- Make sure you have a few news entries
- Check that the paging is broken without the patch and
  fixed once the patch is applied

Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com>
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/tools/koha-news.tt

index 5671c7b..76b7057 100644 (file)
@@ -14,6 +14,7 @@
                 { "aTargets": [ 0, -1 ], "bSearchable": false },
                 { 'sType': "title-string", 'aTargets' : [ 'title-string'] }
             ],
+            "sPaginationType": "full_numbers"
         }));
     });
     //]]>