mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-05-05 13:43:36 +00:00
🤖 Auto commit for release 'develop' on 2026-04-03
This commit is contained in:
@@ -122,11 +122,7 @@ class ObjectGroupRepository implements ObjectGroupRepositoryInterface, UserGroup
|
||||
|
||||
public function search(string $query, int $limit): Collection
|
||||
{
|
||||
$dbQuery = $this->user
|
||||
->objectGroups()
|
||||
->orderBy('order', 'ASC')
|
||||
->orderBy('title', 'ASC')
|
||||
;
|
||||
$dbQuery = $this->user->objectGroups()->orderBy('order', 'ASC')->orderBy('title', 'ASC');
|
||||
if ('' !== $query) {
|
||||
// split query on spaces just in case:
|
||||
$parts = explode(' ', $query);
|
||||
|
||||
Reference in New Issue
Block a user