mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-12-21 02:31:19 +00:00
Fix order query.
This commit is contained in:
@@ -239,7 +239,7 @@ class PiggyBankRepository implements PiggyBankRepositoryInterface
|
|||||||
*/
|
*/
|
||||||
public function getMaxOrder(): int
|
public function getMaxOrder(): int
|
||||||
{
|
{
|
||||||
return (int)$this->user->piggyBanks()->max('order');
|
return (int)$this->user->piggyBanks()->max('piggy_banks.order');
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user