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>
This commit is contained in:
parent
c67130078b
commit
4fcff9db9e
|
|
@ -576,10 +576,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