Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
PIM Messagelib
Commits
36464f68
Commit
36464f68
authored
Aug 03, 2017
by
Laurent Montel
Browse files
Fix Bug 383008 - Quicksearch disregards drop-down settings
FIXED-IN: 5.6.0
BUG: 383008
parent
a2709e9a
Changes
1
Hide whitespace changes
Inline
Side-by-side
messagelist/src/core/filter.cpp
View file @
36464f68
...
...
@@ -60,12 +60,13 @@ bool Filter::match(const MessageItem *item) const
if
(
mMatchingItemIds
.
contains
(
item
->
itemId
()))
{
return
true
;
}
bool
searchMatches
=
false
;
if
(
containString
(
item
->
subject
()))
{
if
(
containString
(
item
->
subject
())
&&
((
mOptions
&
QuickSearchLine
::
SearchAgainstSubject
)
||
(
mOptions
&
QuickSearchLine
::
SearchEveryWhere
))
)
{
searchMatches
=
true
;
}
else
if
(
containString
(
item
->
sender
()))
{
}
else
if
(
containString
(
item
->
sender
())
&&
((
mOptions
&
QuickSearchLine
::
SearchAgainstFrom
)
||
(
mOptions
&
QuickSearchLine
::
SearchEveryWhere
))
)
{
searchMatches
=
true
;
}
else
if
(
containString
(
item
->
receiver
()))
{
}
else
if
(
containString
(
item
->
receiver
())
&&
((
mOptions
&
QuickSearchLine
::
SearchAgainstTo
)
||
(
mOptions
&
QuickSearchLine
::
SearchEveryWhere
))
)
{
searchMatches
=
true
;
}
if
(
!
searchMatches
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment