Bugzilla – Attachment 22744 Details for
Bug 11205
The datatables filters don't work when several tables exist
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF] Bug 11205: The datatables filtering does not work when several tables exist
SIGNED-OFF-Bug-11205-The-datatables-filtering-does.patch (text/plain), 1.35 KB, created by
Brendan Gallagher
on 2013-11-06 06:44:34 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 11205: The datatables filtering does not work when several tables exist
Filename:
MIME Type:
Creator:
Brendan Gallagher
Created:
2013-11-06 06:44:34 UTC
Size:
1.35 KB
patch
obsolete
>From 046ff4515d588f9f3c486db4b03ff993ddc6b635 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Tue, 5 Nov 2013 18:07:56 +0100 >Subject: [PATCH] [SIGNED-OFF] Bug 11205: The datatables filtering does not > work when several tables exist > >If there are more than 1 table on the same page, the datatable filters >don't work. > >Test plan: >1/ Go on serials/serials-search.pl?searched=1 >2/ filter on a column for opened subscriptions => the closed >subscriptions should not be filtered. > >Works! > >Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.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 d4c161a..c2a2cf8 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/js/datatables.js >+++ b/koha-tmpl/intranet-tmpl/prog/en/js/datatables.js >@@ -115,7 +115,7 @@ jQuery.fn.dataTableExt.oApi.fnAddFilters = function ( oSettings, sClass, iDelay > var table = this; > this.fnSetFilteringDelay(iDelay); > var filterTimerId = null; >- $("input."+sClass).keyup(function(event) { >+ $(table).find("input."+sClass).keyup(function(event) { > if (blacklist_keys.indexOf(event.keyCode) != -1) { > return this; > }else if ( event.keyCode == '13' ) { >-- >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 11205
:
22739
|
22744
|
22758