mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
fix error in sql-query
This commit is contained in:
parent
98a3d7f9cd
commit
3279ca6f20
@ -124,7 +124,7 @@ namespace model {
|
|||||||
size_t count = 0;
|
size_t count = 0;
|
||||||
select
|
select
|
||||||
<< "SELECT count(id) from " << getTableName()
|
<< "SELECT count(id) from " << getTableName()
|
||||||
<< " where " << fieldName << " LIKE ? group by id"
|
<< " where " << fieldName << " LIKE ? group by group_id"
|
||||||
,Poco::Data::Keywords::into(count)
|
,Poco::Data::Keywords::into(count)
|
||||||
,Poco::Data::Keywords::useRef(fieldValue);
|
,Poco::Data::Keywords::useRef(fieldValue);
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user