Skip to content

Commit d58dcdf

Browse files
author
Shawn McCool
committed
fix bug in forum search where value wasn't provided for thread index
1 parent 3247b36 commit d58dcdf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/controllers/ForumController.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,8 @@ public function forumReplyDeleted($thread)
171171
// forum search
172172
public function getSearch()
173173
{
174+
View::share('last_visited_timestamp', App::make('Lio\Forum\ForumSectionCountManager')->updatedAndGetLastVisited(Input::get('tags')));
175+
174176
$query = Input::get('query');
175177
$results = App::make('Lio\Comments\ForumSearch')->searchPaginated($query, $this->threadsPerPage);
176178

0 commit comments

Comments
 (0)