mirror of
				https://github.com/firefly-iii/firefly-iii.git
				synced 2025-10-31 02:36:28 +00:00 
			
		
		
		
	Fix detection of transaction type.
This commit is contained in:
		| @@ -1095,6 +1095,10 @@ class GroupCollector implements GroupCollectorInterface | ||||
|     #[\Override]
 | ||||
|     public function sortCollection(Collection $collection): Collection | ||||
|     { | ||||
|         /** | ||||
|          * @var string $field | ||||
|          * @var string $direction | ||||
|          */ | ||||
|         foreach ($this->sorting as $field => $direction) { | ||||
|             $func       = 'ASC' === $direction ? 'sortBy' : 'sortByDesc'; | ||||
|             $collection = $collection->{$func}(function (array $product, int $key) use ($field) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user