Bugzilla – Attachment 134252 Details for
Bug 30626
DT REST API wrapper not building the filter query correctly
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 30626: Don't generate the query if no term passed
Bug-30626-Dont-generate-the-query-if-no-term-passe.patch (text/plain), 1.17 KB, created by
Jonathan Druart
on 2022-04-28 13:01:03 UTC
(
hide
)
Description:
Bug 30626: Don't generate the query if no term passed
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2022-04-28 13:01:03 UTC
Size:
1.17 KB
patch
obsolete
>From 3596c7d795c479c672cd846c01498270ac54f75b Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 28 Apr 2022 15:00:29 +0200 >Subject: [PATCH] Bug 30626: Don't generate the query if no term passed > >--- > 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 2c05bd4a464..7b8e024d50d 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/datatables.js >+++ b/koha-tmpl/intranet-tmpl/prog/js/datatables.js >@@ -600,7 +600,7 @@ jQuery.fn.dataTable.ext.errMode = function(settings, note, message) { > // Build query for the global search filter > var or_query_parameters = settings.aoColumns > .filter(function(col) { >- return col.bSearchable >+ return col.bSearchable && filter != '' > }) > .map(function(col) { > var value = filter; >-- >2.25.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 30626
:
134016
|
134017
|
134055
|
134056
|
134057
|
134214
|
134215
|
134216
| 134252