diff options
author | Evan Prodromou <evan@controlyourself.ca> | 2009-03-23 15:55:07 -0400 |
---|---|---|
committer | Evan Prodromou <evan@controlyourself.ca> | 2009-03-23 15:55:07 -0400 |
commit | 8c073a34ce472fc8d0385659a222339a5ba4254a (patch) | |
tree | 57c83c48333b52a93b84d0910f9450c210e1815c /actions/noticesearch.php | |
parent | b3a0eea3b66e95becb6c4595ed71c7fe71ed6437 (diff) | |
parent | 14afe2d26874ed30a0ccef5e0acda2c5171afcde (diff) |
Merge branch '0.7.x' into 0.8.x
Diffstat (limited to 'actions/noticesearch.php')
-rw-r--r-- | actions/noticesearch.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/actions/noticesearch.php b/actions/noticesearch.php index 83e59dd9a..4aec41621 100644 --- a/actions/noticesearch.php +++ b/actions/noticesearch.php @@ -103,7 +103,7 @@ class NoticesearchAction extends SearchAction function showResults($q, $page) { $notice = new Notice(); - $q = strtolower($q); + $search_engine = $notice->getSearchEngine('identica_notices'); $search_engine->set_sort_mode('chron'); // Ask for an extra to see if there's more. @@ -122,8 +122,8 @@ class NoticesearchAction extends SearchAction $cnt = $nl->show(); - $this->pagination($this->page > 1, $cnt > NOTICES_PER_PAGE, - $this->page, 'noticesearch', array('q' => $q)); + $this->pagination($page > 1, $cnt > NOTICES_PER_PAGE, + $page, 'noticesearch', array('q' => $q)); } function isReadOnly() { |