mirror of
https://github.com/nuxsmin/sysPass.git
synced 2026-03-11 10:56:58 +01:00
ci: Bump aura/sqlquery version.
Signed-off-by: Rubén D <nuxsmin@syspass.org>
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
*
|
||||
* @author nuxsmin
|
||||
* @link https://syspass.org
|
||||
* @copyright 2012-2022, Rubén Domínguez nuxsmin@$syspass.org
|
||||
* @copyright 2012-2023, Rubén Domínguez nuxsmin@$syspass.org
|
||||
*
|
||||
* This file is part of sysPass.
|
||||
*
|
||||
@@ -175,7 +175,7 @@ final class AccountFileRepository extends Repository implements AccountFileRepos
|
||||
$query = $this->queryFactory
|
||||
->newDelete()
|
||||
->from('AccountFile')
|
||||
->where(sprintf('AccountFile.id IN (%s)', $this->buildParamsFromArray($ids)), ...$ids);
|
||||
->where('AccountFile.id IN (:accountFileIds)', ['accountFileIds' => $ids]);
|
||||
|
||||
$queryData = QueryData::build($query)->setOnErrorMessage(__u('Error while deleting the files'));
|
||||
|
||||
@@ -213,9 +213,9 @@ final class AccountFileRepository extends Repository implements AccountFileRepos
|
||||
|
||||
if (!empty($itemSearchData->getSeachString())) {
|
||||
$query->where('AccountFile.name LIKE :name')
|
||||
->orWhere('AccountFile.type LIKE :type')
|
||||
->orWhere('Account.name LIKE :accountName')
|
||||
->orWhere('Client.name LIKE :clientName');
|
||||
->orWhere('AccountFile.type LIKE :type')
|
||||
->orWhere('Account.name LIKE :accountName')
|
||||
->orWhere('Client.name LIKE :clientName');
|
||||
|
||||
$search = '%'.$itemSearchData->getSeachString().'%';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user