mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-04 19:53:44 +00:00
Partial fix for #3840
This commit is contained in:
@@ -113,6 +113,7 @@ class SearchController extends Controller
|
||||
$parameters = ['search' => $fullQuery];
|
||||
$url = route('search.index') . '?' . http_build_query($parameters);
|
||||
$groups->setPath($url);
|
||||
|
||||
try {
|
||||
$html = view('search.search', compact('groups', 'hasPages', 'searchTime'))->render();
|
||||
// @codeCoverageIgnoreStart
|
||||
|
@@ -246,11 +246,11 @@ class OperatorQuerySearch implements SearchInterface
|
||||
$value = $searchNode->getNode()->getValue();
|
||||
// must be valid operator:
|
||||
if (in_array($operator, $this->validOperators, true)) {
|
||||
if ($this->updateCollector($operator, $value)) {
|
||||
if ($this->updateCollector($operator, (string) $value)) {
|
||||
$this->operators->push(
|
||||
[
|
||||
'type' => self::getRootOperator($operator),
|
||||
'value' => $value,
|
||||
'value' => (string) $value,
|
||||
]
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user