We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0f7b1d commit 725715aCopy full SHA for 725715a
src/Internal/Repository/TransferRepository.php
@@ -56,10 +56,11 @@ public function findBy(TransferQueryInterface $query): array
56
public function updateStatusByIds(string $status, array $ids): int
57
{
58
return $this->transfer->newQuery()
59
- ->whereKey($ids)
+ ->toBase()
60
+ ->whereIn($this->transfer->getKeyName(), $ids)
61
->update([
- 'status' => $status,
62
'status_last' => DB::raw('status'),
63
+ 'status' => $status,
64
])
65
;
66
}
0 commit comments