Bugzilla – Attachment 115966 Details for
Bug 27402
Add column filtering to the Datatables REST API wrapper
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 27402: Reverse search filter texts
Bug-27402-Reverse-search-filter-texts.patch (text/plain), 1.15 KB, created by
Jonathan Druart
on 2021-01-28 15:43:16 UTC
(
hide
)
Description:
Bug 27402: Reverse search filter texts
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2021-01-28 15:43:16 UTC
Size:
1.15 KB
patch
obsolete
>From 2e7c5649208dc0e3d15a64e5f4d380e2dafa2646 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 28 Jan 2021 16:17:38 +0100 >Subject: [PATCH] Bug 27402: Reverse search filter texts > >--- > koha-tmpl/intranet-tmpl/prog/js/datatables.js | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/js/datatables.js b/koha-tmpl/intranet-tmpl/prog/js/datatables.js >index be2da8c976..41f28bd94c 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/datatables.js >+++ b/koha-tmpl/intranet-tmpl/prog/js/datatables.js >@@ -748,7 +748,7 @@ jQuery.fn.dataTable.ext.errMode = function(settings, note, message) { > var is_searchable = table_dt.settings()[0].aoColumns[i].bSearchable; > if ( is_searchable ) { > var title = $(this).text(); >- var search_title = _("Search %s").format(title); >+ var search_title = _("%s search").format(title); > $(this).html( '<input type="text" placeholder="%s" />'.format(search_title) ); > > $( 'input', this ).on( 'keyup change', function () { >-- >2.20.1
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 27402
:
115051
|
115052
|
115053
|
115054
|
115813
|
115814
|
115815
|
115935
|
115936
|
115937
|
115942
| 115966