Bug 13744: Fix datatables paging on 'checkout history' page
authorKatrin Fischer <Katrin.Fischer.83@web.de>
Sun, 22 Feb 2015 10:10:59 +0000 (11:10 +0100)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Sat, 7 Mar 2015 20:10:26 +0000 (21:10 +0100)
The paging in the datatable on the 'circulation history' page
is broken without this patch.

/cgi-bin/koha/catalogue/issuehistory.pl?biblionumber=...

To test:
- Search for a record with items that have been checked out
  in the past
- From the detail page, open the 'checkout history' tab
- Check paging displays correctly with this patch and is
  broken without

Signed-off-by: Nicole <nicole@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/catalogue/issuehistory.tt

index 4cd11ff..50cd561 100644 (file)
@@ -10,7 +10,8 @@ $(document).ready(function() {
             "aoColumns": [
                 null,null,null,null,{ "sType": "title-string" },{ "sType": "title-string" },{ "sType": "title-string" }
             ],
-            "aaSorting": [[ 4, "desc" ]]
+            "aaSorting": [[ 4, "desc" ]],
+            "sPaginationType": "full_numbers"
         })
     );
 }); </script>