Bugzilla – Attachment 22739 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]
Bug 11205: The datatables filtering does not work when several tables exist
Bug-11205-The-datatables-filtering-does-not-work-w.patch (text/plain), 1.27 KB, created by
Jonathan Druart
on 2013-11-05 17:09:55 UTC
(
hide
)
Description:
Bug 11205: The datatables filtering does not work when several tables exist
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2013-11-05 17:09:55 UTC
Size:
1.27 KB
patch
obsolete
>From c53ae4c4ada338a6f5c9aaeaf0998c486468f986 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] 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. >--- > 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 cca389d..de8a92a 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