fix bug some array filter

This commit is contained in:
2026-06-29 13:39:41 +07:00
parent 1d7370e557
commit 74250261f2
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -19487,7 +19487,7 @@ function Nv({
}, Y = Zc(async (B = "", V = 0, U = !1) => {
z(!0);
const K = new Dn().setPaging(V, s).setOrder([n], !0);
B && K.like(n, B), m && m.length > 0 && m.forEach((D) => K.where(D.logic_operator || "=", D.name, D.value, D.operator || "AND", D.value1 || null, D.table_name || null)), m.some((D) => D.name === "company_id") && K.addJoin("company", ["name"]);
B && K.like(n, B), m && m.length > 0 && m.forEach((D) => K.where(D.logic_operator || "=", D.name, D.value, D.operator || "AND", D.value1 || null, D.table_name || null)), Array.isArray(m) && m.some((D) => D.name === "company_id") && K.addJoin("company", ["name"]);
try {
const D = await Ao.search(
r,