Better SanitizeWhereClause

This commit is contained in:
Hein
2025-11-21 11:42:01 +02:00
parent 9a3564f05f
commit 02c9b96b0c
4 changed files with 330 additions and 6 deletions

View File

@@ -652,6 +652,7 @@ func (h *Handler) applyPreloadWithRecursion(query common.SelectQuery, preload co
sq = sq.Order(fmt.Sprintf("%s %s", sort.Column, sort.Direction))
}
}
// Apply WHERE clause
if len(preload.Where) > 0 {