@@ -337,7 +337,7 @@ public function buildFilterRulesForUsedOnly($filter, $idList = array())
337
337
if (!empty ($ idList )) {
338
338
$ builder
339
339
->where ('id IN (:ids) ' )
340
- ->setParameter ('ids ' , $ idList , Connection::PARAM_INT_ARRAY );
340
+ ->setParameter ('ids ' , $ idList , Connection::PARAM_STR_ARRAY );
341
341
}
342
342
343
343
$ arrUsedValues = $ builder ->execute ()->fetchAll (\PDO ::FETCH_COLUMN );
@@ -487,7 +487,7 @@ function ($item) {
487
487
->from ($ this ->getMetaModel ()->getTableName ())
488
488
->where ($ this ->getColName () . ' IN (:ids) ' )
489
489
->groupBy ($ this ->getColName ())
490
- ->setParameter ('ids ' , $ idList )
490
+ ->setParameter ('ids ' , $ idList, Connection:: PARAM_STR_ARRAY )
491
491
->execute ();
492
492
493
493
while ($ row = $ query ->fetch (\PDO ::FETCH_ASSOC )) {
@@ -551,7 +551,7 @@ public function sortIds($idList, $strDirection)
551
551
->select ('id, ' . $ myColName )
552
552
->from ($ this ->getMetaModel ()->getTableName ())
553
553
->where ('id IN (:ids) ' )
554
- ->setParameter ('ids ' , $ idList , Connection::PARAM_INT_ARRAY )
554
+ ->setParameter ('ids ' , $ idList , Connection::PARAM_STR_ARRAY )
555
555
->execute ();
556
556
557
557
$ valueIds = array ();
@@ -591,7 +591,7 @@ public function getDataFor($arrIds)
591
591
->select ($ valueColumn . ', id ' )
592
592
->from ($ this ->getMetaModel ()->getTableName ())
593
593
->where ('id IN (:ids) ' )
594
- ->setParameter ('ids ' , $ arrIds )
594
+ ->setParameter ('ids ' , $ arrIds, Connection:: PARAM_STR_ARRAY )
595
595
->execute ();
596
596
597
597
$ valueIds = array ();
0 commit comments