diff options
author | Tobias Diekershoff <tobias.diekershoff@gmx.net> | 2009-03-26 06:56:52 +0100 |
---|---|---|
committer | Tobias Diekershoff <tobias.diekershoff@gmx.net> | 2009-03-26 06:56:52 +0100 |
commit | d1bf8b2143f597d9d1b1e7ff472532c596200011 (patch) | |
tree | 82f1440a20f5b0e8e942366b7106a9e2ee66f5ff /actions/noticesearch.php | |
parent | 25e9e2b83fc7e1fdbc7d03bac17cc2530ce836e1 (diff) | |
parent | 959d9eda2304df317719ff9768cb555210c98ad0 (diff) |
Merge branch '0.7.x' of git://gitorious.org/laconica/dev into 0.7.x
Diffstat (limited to 'actions/noticesearch.php')
-rw-r--r-- | actions/noticesearch.php | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/actions/noticesearch.php b/actions/noticesearch.php index 83e59dd9a..9058cf53c 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,9 +122,10 @@ 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() { return true; |