update to lower

This commit is contained in:
2024-12-27 10:22:05 +07:00
parent c53ed8bba5
commit ea8b9774a8

View File

@ -149,10 +149,10 @@ export default class CommonHelper {
}
if (param.col_any_eq.length > 0) {
whereVal['filter_eq'] = filter_any_val;
whereVal['filter_eq'] = filter_any_val.toLowerCase();
}
if (param.col_any_like.length > 0) {
whereVal['filter_like'] = '%' + filter_any_val + '%';
whereVal['filter_like'] = '%' + filter_any_val.toLowerCase() + '%';
}
}
} catch (e: any) {
@ -186,7 +186,7 @@ export default class CommonHelper {
whereVal['filter_eq'] = param.filter.toLowerCase();
}
if (param.col_any_like.length > 0) {
whereVal['filter_like'] = '%' + param.filter + '%';
whereVal['filter_like'] = '%' + param.filter.toLowerCase() + '%';
}
}