mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Add debug information.
This commit is contained in:
@@ -82,8 +82,8 @@ class AccountSearch implements GenericSearchInterface
|
||||
$query->orWhere(
|
||||
static function (Builder $q) use ($originalQuery) {
|
||||
$json = json_encode($originalQuery, JSON_THROW_ON_ERROR);
|
||||
$q->where('account_meta.name', 'account_number');
|
||||
$q->where('account_meta.data', $json);
|
||||
$q->where('account_meta.name', '=', 'account_number');
|
||||
$q->where('account_meta.data', 'LIKE', $json);
|
||||
}
|
||||
);
|
||||
break;
|
||||
@@ -107,7 +107,6 @@ class AccountSearch implements GenericSearchInterface
|
||||
);
|
||||
break;
|
||||
}
|
||||
|
||||
return $query->distinct()->get(['accounts.*']);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user