Bugzilla – Attachment 14813 Details for
Bug 9464
Update DataTables configuration on patron statistics page
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 9464 - Update DataTables configuration on patron statistics page
Bug-9464---Update-DataTables-configuration-on-patr.patch (text/plain), 1.73 KB, created by
Jonathan Druart
on 2013-01-24 11:03:14 UTC
(
hide
)
Description:
Bug 9464 - Update DataTables configuration on patron statistics page
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2013-01-24 11:03:14 UTC
Size:
1.73 KB
patch
obsolete
>From 6f27dd55a04b8d3c8c138204abfc40e25ac3c528 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Wed, 23 Jan 2013 12:42:08 -0500 >Subject: [PATCH] Bug 9464 - Update DataTables configuration on patron > statistics page > >This page removes an unnecessary link to the old tablesorter plugin and >changes the configuration details of the DataTables plugin so that an >empty filter box doesn't appear as dot above and below the table (an >empty <div> with a 1-pixel border). > >To test, open the patron statistics page for a patron who has entries to >display. Sorting should work normally and no dots should be seen. > >Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/members/statistics.tt | 8 +++----- > 1 file changed, 3 insertions(+), 5 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/statistics.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/statistics.tt >index 3ff663c..22d6284 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/statistics.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/statistics.tt >@@ -12,14 +12,12 @@ > [% INCLUDE 'datatables-strings.inc' %] > <script type="text/javascript" src="[% themelang %]/js/datatables.js"></script> > [% INCLUDE 'calendar.inc' %] >-<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.tablesorter.min.js"></script> > <script type="text/javascript"> > $(document).ready(function() { > $("#statistics").dataTable($.extend(true, {}, dataTablesDefaults, { >- 'bPaginate': false, >- 'bFilter': false, >- 'bInfo': false, >- } )); >+ "sDom": 't', >+ "bPaginate": false >+ })); > }); > </script> > </head> >-- >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 9464
:
14797
|
14813
|
16552