Bug 12646: Display all invoices on the same page
authorJonathan Druart <jonathan.druart@biblibre.com>
Tue, 19 Aug 2014 08:09:38 +0000 (10:09 +0200)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Thu, 16 Oct 2014 15:52:15 +0000 (12:52 -0300)
Only first 20 invoices were displayed on the page. Without pagination, DT
did not allow to show others.
This page explicitely removes the pagination option in order to display
all invoices on the page.

Test plan:
1/ Create 21+ invoices
2/ Go on acqui/invoices
3/ Verify all invoices are displayed.

Signed-off-by: Paola Rossi <paola.rossi@cineca.it>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoices.tt

index 578b7b3..456a231 100644 (file)
@@ -10,7 +10,7 @@
 //<![CDATA[
 $(document).ready(function() {
     var resultst = $("#resultst").dataTable($.extend(true, {}, dataTablesDefaults, {
-        sDom: "t",
+        bPaginate: false,
         aoColumnDefs: [
             { "bSortable": false, "aTargets": [1, 8] },
             { "bVisible": false, "aTargets": [0] },