Bug 13863: Fix Datatables paging on the cities and search history pages
authorJonathan Druart <jonathan.druart@biblibre.com>
Wed, 18 Mar 2015 09:51:19 +0000 (10:51 +0100)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Wed, 18 Mar 2015 23:16:40 +0000 (20:16 -0300)
Test plan:
Go on admin/cities.pl and catalogue/search-history.pl and confirm the
pagination is not broken anymore.

Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/cities.tt
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/search-history.tt

index fa5629c..b961084 100644 (file)
@@ -11,7 +11,8 @@
                 { "aTargets": [ -1, -2 ], "bSortable": false, "bSearchable": false },
             ],
             "aaSorting": [[ 1, "asc" ]],
-            "iDisplayLength": 10
+            "iDisplayLength": 10,
+            "sPaginationType": "full_numbers"
         }));
     });
 //]]>
index dbee0ab..48310c1 100644 (file)
@@ -18,6 +18,7 @@ $(document).ready(function() {
             { "aTargets": [ 0 ], "bSortable": false, "bSearchable": false },
             { "aTargets": [ 1 ], "sType": "title-string" },
         ],
+        "sPaginationType": "full_numbers"
     }));
 
     $('#tabs').tabs();