deprecated warning fix
This commit is contained in:
parent
02fc5f228c
commit
7b22d7d9e7
|
@ -338,11 +338,11 @@ class Base extends ControllerBase {
|
|||
// $this->terms = $request->query->get('terms');
|
||||
$t = $request->query->get('terms');
|
||||
// $this->terms = strlen($t) ? explode(',', $t) : null;
|
||||
$this->terms = strlen($t) ? json_decode($t) : null;
|
||||
$this->terms = $t && strlen($t) ? json_decode($t) : null;
|
||||
|
||||
// get the filters of advanced search
|
||||
$f = $request->query->get('filters');
|
||||
$this->filters = strlen($f) ? explode(',', $f) : null;
|
||||
$this->filters = $f && strlen($f) ? explode(',', $f) : null;
|
||||
// $this->allparams = $request->query->all();
|
||||
// $request->attributes->get('_raw_variables')->get('filters')
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue