Bug 13744: Fix datatables paging on 'order from subscription' page
authorKatrin Fischer <Katrin.Fischer.83@web.de>
Sat, 21 Feb 2015 19:30:07 +0000 (20:30 +0100)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Sat, 7 Mar 2015 20:10:24 +0000 (21:10 +0100)
The paging of the datatable on the 'order from subscription' page
is broken without this patch.

To test:
- Make sure you have a subscription, note the vendor
- Create a new basket for this vendor
- Add a new order line 'from a subscription'
- Check paging on the result table displays correctly

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/acqui/newordersubscription.tt

index 18cfdec..fadfa6a 100644 (file)
@@ -20,7 +20,8 @@
                 { "bSortable": false, "bSearchable": false, 'aTargets': [ 'NoSort' ] },
                 { "sType": "anti-the", "aTargets" : [ "anti-the" ] },
                 { "sType": "title-string", "aTargets" : [ "title-string" ] }
-            ]
+            ],
+            "sPaginationType": "four_button"
         } ) )
 
         $("#show_only_renewed").click(function(){