Bugzilla – Attachment 24671 Details for
Bug 11555
Make "All" one of the default options for datatables
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 11555: The menu entries are 10, 20, 50, 100, -1
Bug-11555-The-menu-entries-are-10-20-50-100--1.patch (text/plain), 1.12 KB, created by
Jonathan Druart
on 2014-01-24 11:12:44 UTC
(
hide
)
Description:
Bug 11555: The menu entries are 10, 20, 50, 100, -1
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2014-01-24 11:12:44 UTC
Size:
1.12 KB
patch
obsolete
>From b378b05b95d38945aa00df5213e5927b64274076 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Fri, 24 Jan 2014 12:05:57 +0100 >Subject: [PATCH] Bug 11555: The menu entries are 10, 20, 50, 100, -1 > >If you have a look at git grep aLengthMenu, you will see we choose 20 >instead of 25. > >Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> >--- > koha-tmpl/intranet-tmpl/prog/en/js/datatables.js | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/js/datatables.js b/koha-tmpl/intranet-tmpl/prog/en/js/datatables.js >index cc809c1..faab715 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/js/datatables.js >+++ b/koha-tmpl/intranet-tmpl/prog/en/js/datatables.js >@@ -24,7 +24,7 @@ var dataTablesDefaults = { > "sZeroRecords" : window.MSG_DT_ZERO_RECORDS || "No matching records found" > }, > "sDom": '<"top pager"ilpf>t<"bottom pager"ip>', >- "aLengthMenu": [[10, 25, 50, 100, -1], [10, 25, 50, 100, window.MSG_DT_ALL || "All"]] >+ "aLengthMenu": [[10, 20, 50, 100, -1], [10, 20, 50, 100, window.MSG_DT_ALL || "All"]] > }; > > >-- >1.7.10.4
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 11555
:
24290
|
24670
| 24671