Many fixes
This commit is contained in:
parent
7c11620287
commit
f0c9014a9a
6 changed files with 25 additions and 30 deletions
|
|
@ -510,7 +510,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]
|
||||
sql= "select count(`"+field_to_count+"`) from "+", ".join(tables_to_select)+' '+conditions[0]
|
||||
|
||||
cursor=self.sqlclass.query(sql, conditions[1], self.connection_id)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue