mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-25 18:19:22 +03:00
Added "imap_message_list_fast_simple_search" setting
This commit is contained in:
parent
5a84370077
commit
c5bffef9cd
4 changed files with 26 additions and 9 deletions
|
|
@ -23,6 +23,11 @@ class Config
|
|||
*/
|
||||
public static $FixIconvByMbstring = true;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public static $MessageListFastSimpleSearch = true;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -1084,15 +1084,23 @@ class MailClient
|
|||
{
|
||||
$sValue = $this->escapeSearchString($aLines['OTHER']);
|
||||
|
||||
$aCriteriasResult[] = 'OR OR OR';
|
||||
$aCriteriasResult[] = 'FROM';
|
||||
$aCriteriasResult[] = $sValue;
|
||||
$aCriteriasResult[] = 'TO';
|
||||
$aCriteriasResult[] = $sValue;
|
||||
$aCriteriasResult[] = 'CC';
|
||||
$aCriteriasResult[] = $sValue;
|
||||
$aCriteriasResult[] = 'SUBJECT';
|
||||
$aCriteriasResult[] = $sValue;
|
||||
if (\MailSo\Config::$MessageListFastSimpleSearch)
|
||||
{
|
||||
$aCriteriasResult[] = 'OR OR OR';
|
||||
$aCriteriasResult[] = 'FROM';
|
||||
$aCriteriasResult[] = $sValue;
|
||||
$aCriteriasResult[] = 'TO';
|
||||
$aCriteriasResult[] = $sValue;
|
||||
$aCriteriasResult[] = 'CC';
|
||||
$aCriteriasResult[] = $sValue;
|
||||
$aCriteriasResult[] = 'SUBJECT';
|
||||
$aCriteriasResult[] = $sValue;
|
||||
}
|
||||
else
|
||||
{
|
||||
$aCriteriasResult[] = 'TEXT';
|
||||
$aCriteriasResult[] = $sValue;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue