From 2c115e14d37534dbbe214513962160a0c6e64a2c Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Thu, 17 Sep 2009 15:12:21 -0600 Subject: [PATCH] Fix determination of starting message in search mailboxes --- imp/lib/Mailbox.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/imp/lib/Mailbox.php b/imp/lib/Mailbox.php index 0c5284eb3..2bbcdb6da 100644 --- a/imp/lib/Mailbox.php +++ b/imp/lib/Mailbox.php @@ -584,6 +584,10 @@ class IMP_Mailbox */ public function mailboxStart($total) { + if ($this->_searchmbox) { + return 1; + } + switch ($GLOBALS['prefs']->getValue('mailbox_start')) { case IMP::MAILBOX_START_FIRSTPAGE: return 1; -- 2.11.0