@@ -61,7 +61,7 @@ discard block |
||
| 61 | 61 | |
| 62 | 62 | $index = implode('-', $this->_skip); |
| 63 | 63 | // try to get this slow query from cache |
| 64 | - $cache = App::$Cache->getItem('entity.content.search.index.' . $index); |
|
| 64 | + $cache = App::$Cache->getItem('entity.content.search.index.'.$index); |
|
| 65 | 65 | if (!$cache->isHit()) { |
| 66 | 66 | $cache->set($this->makeSearch()); |
| 67 | 67 | $cache->expiresAfter(static::CACHE_TIME); |
@@ -95,7 +95,7 @@ discard block |
||
| 95 | 95 | 'id' => $item->id, |
| 96 | 96 | 'title' => $item->getLocaled('title'), |
| 97 | 97 | 'snippet' => Text::snippet($text), |
| 98 | - 'uri' => '/content/read/' . $item->getPath(), |
|
| 98 | + 'uri' => '/content/read/'.$item->getPath(), |
|
| 99 | 99 | 'thumb' => $item->getPosterThumbUri() |
| 100 | 100 | ]; |
| 101 | 101 | } |