Bugzilla – Attachment 14802 Details for
Bug 9469
Use Datatables in serials statistics wizard
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 9469 - Use Datatables in serials statistics wizard
Bug-9469---Use-Datatables-in-serials-statistics-wi.patch (text/plain), 1.89 KB, created by
Owen Leonard
on 2013-01-23 19:37:26 UTC
(
hide
)
Description:
Bug 9469 - Use Datatables in serials statistics wizard
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2013-01-23 19:37:26 UTC
Size:
1.89 KB
patch
obsolete
>From c8a879a9e40afa41e343a682368bfe0e1eb8e740 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Wed, 23 Jan 2013 14:35:03 -0500 >Subject: [PATCH] Bug 9469 - Use Datatables in serials statistics wizard >Content-Type: text/plain; charset="utf-8" > >Replace the tablesorter plugin with the DataTables plugin on the >serials staitsics wizard report. > >To test, run the serials statistics wizard (Reports -> Serials). Confirm >that table sorting works correctly. >--- > .../prog/en/modules/reports/serials_stats.tt | 15 ++++++++++----- > 1 file changed, 10 insertions(+), 5 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/serials_stats.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/serials_stats.tt >index 65f662f..47baf2c 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/serials_stats.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/serials_stats.tt >@@ -4,13 +4,18 @@ > <style type="text/css"> > .sql {display: none;} > </style> >-<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.tablesorter.min.js"></script> >-<script type="text/JavaScript" language="JavaScript"> >+<link rel="stylesheet" type="text/css" href="/intranet-tmpl/prog/en/css/datatables.css" /> >+<script type="text/javascript" src="/intranet-tmpl/prog/en/lib/jquery/plugins/jquery.dataTables.min.js"></script> >+[% INCLUDE 'datatables-strings.inc' %] >+<script type="text/javascript" src="/intranet-tmpl/prog/en/js/datatables.js"></script> >+<script type="text/javascript"> > //<![CDATA[ >+ [% IF (dateformat == 'metric') %]dt_add_type_uk_date();[% END %] > $(document).ready(function() { >- $("#resulttable").tablesorter({ >- widgets : ['zebra'] >- }); >+ $("#resulttable").dataTable($.extend(true, {}, dataTablesDefaults, { >+ "sDom": 't', >+ "bPaginate": false >+ })); > }); > //]]> > </script> >-- >1.7.9.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 9469
:
14802
|
15206
|
15225