Fixed search bug
This commit is contained in:
parent
21e7ccef3d
commit
6ad8aabb83
@ -278,7 +278,7 @@ class EntryController extends Controller
|
|||||||
{
|
{
|
||||||
$repository = $this->get('wallabag_core.entry_repository');
|
$repository = $this->get('wallabag_core.entry_repository');
|
||||||
$searchTerm = (isset($request->get('search_entry')['term']) ? $request->get('search_entry')['term'] : '');
|
$searchTerm = (isset($request->get('search_entry')['term']) ? $request->get('search_entry')['term'] : '');
|
||||||
$currentRoute = (!is_null($request->get('currentRoute')) ? $request->get('currentRoute') : '');
|
$currentRoute = (!is_null($request->query->get('currentRoute')) ? $request->query->get('currentRoute') : '');
|
||||||
|
|
||||||
switch ($type) {
|
switch ($type) {
|
||||||
case 'search':
|
case 'search':
|
||||||
|
Loading…
x
Reference in New Issue
Block a user