From 1ae4f5493a7d8042228220c27d02a8de60c8c8ec Mon Sep 17 00:00:00 2001
From: Katrin Fischer <Katrin.Fischer.83@web.de>
Date: Sat, 21 Feb 2015 20:30:07 +0100
Subject: [PATCH] [SIGNED-OFF] Bug 13744: Fix datatables paging on 'order from
 subscription' page

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>
---
 .../intranet-tmpl/prog/en/modules/acqui/newordersubscription.tt     |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/newordersubscription.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/newordersubscription.tt
index 18cfdec..fadfa6a 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/newordersubscription.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/newordersubscription.tt
@@ -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(){
-- 
1.7.10.4