Bugzilla – Attachment 25157 Details for
Bug 11721
Use new DataTables include in suggestions template
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[PASSED QA] Bug 11721 - Use new DataTables include in suggestions template
PASSED-QA-Bug-11721---Use-new-DataTables-include-i.patch (text/plain), 2.26 KB, created by
Katrin Fischer
on 2014-02-09 16:39:36 UTC
(
hide
)
Description:
[PASSED QA] Bug 11721 - Use new DataTables include in suggestions template
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2014-02-09 16:39:36 UTC
Size:
2.26 KB
patch
obsolete
>From 7bbc98ed6c393d9c7b609cd5381d7f78faac7bc6 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Fri, 7 Feb 2014 16:02:06 -0500 >Subject: [PATCH] [PASSED QA] Bug 11721 - Use new DataTables include in > suggestions template > >This patch modifies the template for the suggestions page to use >the new DataTables include. This simplifies the inclusion of assets and >updates to the latest DataTables version. > >Sorting is now configured to exclude articles when sorting the title >column. > >To test, apply the patch and view the suggestions page (Acquisitions -> >Suggestions). Sorting of suggestions should work correctly. > >Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz> >Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> >Passes all tests and QA script. > >Note: the columsn fund and status are not sortable/searchable >before and after applying the patch. >--- > koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt | 7 ++++--- > 1 file changed, 4 insertions(+), 3 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt >index cd5b958..2f1cfb0 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt >@@ -29,9 +29,7 @@ > [% END %] > [% IF ( op_else ) %] > <link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" /> >-<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.dataTables.min.js"></script> >-[% INCLUDE 'datatables-strings.inc' %] >-<script type="text/javascript" src="[% themelang %]/js/datatables.js"></script> >+[% INCLUDE 'datatables.inc' %] > <script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.checkboxes.min.js"></script> > <script type="text/javascript"> > // <![CDATA[ >@@ -58,6 +56,9 @@ $(document).ready(function() { > "aoColumnDefs": [ > { "aTargets": [ 0, -1, -2 ], "bSortable": false, "bSearchable": false }, > ], >+ "aoColumns": [ >+ null,{ "sType": "anti-the" },null,null,null,null,null >+ ], > "aLengthMenu": [[10, 20, 50, 100, -1], [10, 20, 50, 100, "All"]], > "iDisplayLength": 20, > "sPaginationType": "four_button" >-- >1.8.3.2
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 11721
:
25152
|
25153
| 25157