Make search work. [skip ci]

This commit is contained in:
James Cole 2017-02-19 09:36:51 +01:00
parent bf35ecc07a
commit b149a816dd
No known key found for this signature in database
GPG Key ID: C16961E655E74B5E
3 changed files with 3 additions and 5 deletions

View File

@ -241,8 +241,6 @@ class Search implements SearchInterface
} while (!$reachedEndOfList && !$foundEnough);
$result = $result->slice(0, $this->limit);
var_dump($result->toArray());
exit;
return $result;
}

View File

@ -26,6 +26,8 @@ return [
'showEverything' => 'Show everything',
'never' => 'Never',
'search_results_for' => 'Search results for ":query"',
'advanced_search' => 'Advanced search',
'advanced_search_intro' => 'There are several modifiers that you can use in your search to narrow down the results. If you use any of these, the search will <em>only</em> return transactions. Please click the <i class="fa fa-question-circle"></i>-icon for more information.',
'bounced_error' => 'The message sent to :email bounced, so no access for you.',
'deleted_error' => 'These credentials do not match our records.',
'general_blocked_error' => 'Your account has been disabled, so you cannot login.',

View File

@ -22,9 +22,7 @@
</div>
<div class="box-body">
<p>
There are several modifiers that you can use in your search to narrow down the results.
If you use any of these, the search will <em>only</em> return transactions.
Please click the <i class="fa fa-question-circle"></i>-icon for more information.
{{ 'advanced_search_intro'|_ }}
</p>
{# search form #}
<form class="form-horizontal" action="{{ route('search.index') }}" method="get">