diff options
author | Julien Veyssier <julien-nc@posteo.net> | 2023-08-04 10:43:54 +0200 |
---|---|---|
committer | Julien Veyssier <julien-nc@posteo.net> | 2023-08-07 13:27:53 +0200 |
commit | 05a6a799a7e05f90c9d1eb10b5a41800457e1749 (patch) | |
tree | 6dc4d8a0e99c03c53a4e5cd1d644d42043307d82 /lib/private/TextProcessing | |
parent | 41b19cf969956fe57fcb35e3dee0200d5c29b6d7 (diff) | |
download | nextcloud-server-05a6a799a7e05f90c9d1eb10b5a41800457e1749.tar.gz nextcloud-server-05a6a799a7e05f90c9d1eb10b5a41800457e1749.zip |
change sql where order to match index order
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
Diffstat (limited to 'lib/private/TextProcessing')
-rw-r--r-- | lib/private/TextProcessing/Db/TaskMapper.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/TextProcessing/Db/TaskMapper.php b/lib/private/TextProcessing/Db/TaskMapper.php index 6fde1e510b5..62dabea544f 100644 --- a/lib/private/TextProcessing/Db/TaskMapper.php +++ b/lib/private/TextProcessing/Db/TaskMapper.php @@ -91,8 +91,8 @@ class TaskMapper extends QBMapper { $qb = $this->db->getQueryBuilder(); $qb->select(Task::$columns) ->from($this->tableName) - ->where($qb->expr()->eq('app_id', $qb->createPositionalParameter($appId))) - ->andWhere($qb->expr()->eq('user_id', $qb->createPositionalParameter($userId))); + ->where($qb->expr()->eq('user_id', $qb->createPositionalParameter($userId))) + ->andWhere($qb->expr()->eq('app_id', $qb->createPositionalParameter($appId))); if ($identifier !== null) { $qb->andWhere($qb->expr()->eq('identifier', $qb->createPositionalParameter($identifier))); } |