diff options
author | Federico Marani <federico.marani@ymail.com> | 2009-03-28 13:52:01 +0000 |
---|---|---|
committer | Federico Marani <federico.marani@ymail.com> | 2009-03-28 13:52:01 +0000 |
commit | 4b3f022fc2ff142e6d1cb6740b7f89108cfda292 (patch) | |
tree | a7e0f0e6730a02e6a2fc6196bbeabcb1b932baae /actions/noticesearch.php | |
parent | 420c3613049bec1360cdeb1f50283b239adf23d3 (diff) | |
parent | 8c073a34ce472fc8d0385659a222339a5ba4254a (diff) |
Merge branch '0.8.x' of git://gitorious.org/laconica/dev into 0.8.x
Conflicts:
lib/jabber.php
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() { |