Fix in webmodel
This commit is contained in:
parent
aec95e2440
commit
4c7847d789
1 changed files with 1 additions and 1 deletions
|
|
@ -818,7 +818,7 @@ class WebModel:
|
|||
conditions[0]+=" AND `"+table_name+"`.`"+self.fields[field].identifier_field+"`=`"+self.name+"`.`"+field+"`"
|
||||
|
||||
sql= "select count(`"+field_to_count+"`) from "+", ".join(tables_to_select)+' '+conditions[0]
|
||||
print(sql)
|
||||
|
||||
count=0
|
||||
|
||||
with self.query(sql, conditions[1], self.connection_id) as cursor:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue