fix(guarantor): qualify guarantor filter columns

This commit is contained in:
avicenan
2026-03-09 16:51:15 +07:00
parent 2354f3ffb9
commit 34b913fc59

View File

@ -17,7 +17,7 @@ export class PatientGuarantorModel {
const filterResult = CommonHelper.handleFilter({
filter: JSON.stringify({ any: filterAny }),
col_any_eq: [],
col_any_like: ["name", "phone"],
col_any_like: ["patient_guarantor.name", "patient_guarantor.phone"],
});
if (filterResult.whereAttr && filterResult.whereAttr !== "") {