Lines 332-338
Link Here
|
332 |
patterns.forEach(function(pattern,i){ |
332 |
patterns.forEach(function(pattern,i){ |
333 |
let sub_or = []; |
333 |
let sub_or = []; |
334 |
sub_or.push({ |
334 |
sub_or.push({ |
335 |
"extended_attributes.value": { "like": "%" + pattern + (search_type == "contain" ? "%" : "" )}, |
335 |
"extended_attributes.value": { "like": (search_type == "contain" ? "%" : "" ) + pattern + "%" }, |
336 |
"extended_attributes.code": extended_attribute_types |
336 |
"extended_attributes.code": extended_attribute_types |
337 |
}); |
337 |
}); |
338 |
subquery_and.push(sub_or); |
338 |
subquery_and.push(sub_or); |
339 |
- |
|
|