Fix prefunded ITX.

This commit is contained in:
tecnovert
2025-05-11 13:10:54 +02:00
parent 3ea7a219d1
commit 2a8ac051fc
2 changed files with 6 additions and 5 deletions

View File

@@ -966,8 +966,11 @@ class DBMethods:
query_data[cv_name] = cv
query += ") "
else:
query += f" AND {ck} = :{ck} "
query_data[ck] = constraint_value
if constraint_value is None:
query += f" AND {ck} IS NULL "
else:
query += f" AND {ck} = :{ck} "
query_data[ck] = constraint_value
for order_col, order_dir in order_by.items():
if validColumnName(order_col) is False: