Bug 39011: Apply the pre-process to column filters
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit 4fcff9db9e)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
parent
d0c58725b8
commit
72ea5fd9db
|
|
@ -496,10 +496,13 @@ function _dt_default_ajax (params){
|
|||
coded_datatype &&
|
||||
coded_datatype.length > 1
|
||||
) {
|
||||
if (global_search.length) {
|
||||
if (global_search.length || value.length) {
|
||||
coded_datatype = coded_datatype[1];
|
||||
const search_value = value.length
|
||||
? value
|
||||
: global_search;
|
||||
const regex = new RegExp(
|
||||
`^${global_search}`,
|
||||
`^${search_value}`,
|
||||
"i"
|
||||
);
|
||||
if (
|
||||
|
|
|
|||
Loading…
Reference in New Issue