@@ -136,8 +136,8 @@ |
||
| 136 | 136 | public function render(): string |
| 137 | 137 | { |
| 138 | 138 | return '<form method="get" action="' . $this->_buildSearchUrl() . |
| 139 | - '"><div class="row"><div class="col-md-10"><input name="search" class="form-control data-scout-input" placeholder="' . |
|
| 140 | - $this->_placeholder . '"/></div><div class="col-md-2"><button type="submit" class="btn btn-primary">' . |
|
| 141 | - $this->_buttonText . '</button></div></div></form>'; |
|
| 139 | + '"><div class="row"><div class="col-md-10"><input name="search" class="form-control data-scout-input" placeholder="' . |
|
| 140 | + $this->_placeholder . '"/></div><div class="col-md-2"><button type="submit" class="btn btn-primary">' . |
|
| 141 | + $this->_buttonText . '</button></div></div></form>'; |
|
| 142 | 142 | } |
| 143 | 143 | } |
| 144 | 144 | \ No newline at end of file |
@@ -55,7 +55,7 @@ |
||
| 55 | 55 | return $this->_queryBuilder; |
| 56 | 56 | } |
| 57 | 57 | |
| 58 | - $this->_queryBuilder->where(function ($query) |
|
| 58 | + $this->_queryBuilder->where(function($query) |
|
| 59 | 59 | { |
| 60 | 60 | foreach ($this->_searchQueries as $value) |
| 61 | 61 | { |