Bugzilla – Attachment 23200 Details for
Bug 11314
Restore ability to see only 5 entries on parcel.pl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 11314 - Restore ability to see only 5 entries on parcel.pl
Bug-11314---Restore-ability-to-see-only-5-entries-.patch (text/plain), 2.13 KB, created by
Kyle M Hall
on 2013-11-27 17:41:34 UTC
(
hide
)
Description:
Bug 11314 - Restore ability to see only 5 entries on parcel.pl
Filename:
MIME Type:
Creator:
Kyle M Hall
Created:
2013-11-27 17:41:34 UTC
Size:
2.13 KB
patch
obsolete
>From 9b63d2e1dc368c7977f722d3f9ea83b02d89f372 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Wed, 27 Nov 2013 12:40:11 -0500 >Subject: [PATCH] Bug 11314 - Restore ability to see only 5 entries on parcel.pl > >Bug 9130 removed the ability to limit the tables on parcel.pl to 5 rows, >as well as the "sticky" feature. It is trivial to restore this >functionality. These datatables are already using bStateSave, so are >they are "sticky" already. The only part left is to enable the >ability to limit the table to 5 rows at a time. > >Test Plan: >1) Apply this patch >2) Browse to parcel.pl >3) Note the default rows count is still 10 >4) Note the option to limit the row count to 5 >--- > .../intranet-tmpl/prog/en/modules/acqui/parcel.tt | 6 ++++-- > 1 files changed, 4 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt >index db6783b..49bc30f 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt >@@ -17,7 +17,8 @@ > var pendingt = $("#pendingt").dataTable($.extend(true, {}, dataTablesDefaults, { > "bStateSave": true, > "iCookieDuration": 60*60*24*1000, // 1000 days >- "aLengthMenu": [[10, 20, 50, 100, -1], [10, 20, 50, 100, "All"]], >+ "iDisplayLength": 10, >+ "aLengthMenu": [[5, 10, 20, 50, 100, -1], [5, 10, 20, 50, 100, "All"]], > "aoColumnDefs": [ > { "aTargets": [ 3, 8, 9 ], "bSortable": false, "bSearchable": false }, > ], >@@ -57,7 +58,8 @@ > var receivedt = $("#receivedt").dataTable($.extend(true, {}, dataTablesDefaults, { > "bStateSave": true, > "iCookieDuration": 60*60*24*1000, // 1000 days >- "aLengthMenu": [[10, 20, 50, 100, -1], [10, 20, 50, 100, "All"]], >+ "iDisplayLength": 10, >+ "aLengthMenu": [[5, 10, 20, 50, 100, -1], [5, 10, 20, 50, 100, "All"]], > "aoColumnDefs": [ > { "aTargets": [ 4, -1 ], "bSortable": false, "bSearchable": false }, > ], >-- >1.7.2.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 11314
:
23200
|
24559
|
24692
|
24693