Bug 27402: Reverse search filter texts

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Jonathan Druart 2021-01-28 16:17:38 +01:00
parent 59b5abd257
commit 70136ff9d0
1 changed files with 1 additions and 1 deletions

View File

@ -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 () {