mirror of
				https://github.com/firefly-iii/firefly-iii.git
				synced 2025-11-04 05:15:39 +00: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