mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-02-13 21:19:08 -06:00
Fix order query.
This commit is contained in:
@@ -239,7 +239,7 @@ class PiggyBankRepository implements PiggyBankRepositoryInterface
|
||||
*/
|
||||
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