From 3414c57dc81a98123682fb921bcb5743f397fd89 Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Wed, 03 Dec 2008 03:16:44 -0500
Subject: [PATCH] #1485587: show proper message when using status filter

---
 program/steps/mail/list.inc |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/program/steps/mail/list.inc b/program/steps/mail/list.inc
index 2078262..5cc2a57 100644
--- a/program/steps/mail/list.inc
+++ b/program/steps/mail/list.inc
@@ -68,7 +68,13 @@
 
 // add message rows
 if (isset($a_headers) && count($a_headers))
+{
   rcmail_js_message_list($a_headers);
+  if ($search_request)
+    $OUTPUT->show_message('searchsuccessful', 'confirmation', array('nr' => $count));
+}
+else if ($search_request)
+  $OUTPUT->show_message('searchnomatch', 'notice');
 else
   $OUTPUT->show_message('nomessagesfound', 'notice');
   

--
Gitblit v1.9.1