--- a/phonebookengines/VirtualPhonebook/VPbkCntModel/src/CFilteredContactView.cpp Fri Feb 19 22:40:27 2010 +0200
+++ b/phonebookengines/VirtualPhonebook/VPbkCntModel/src/CFilteredContactView.cpp Fri Mar 12 15:41:25 2010 +0200
@@ -145,8 +145,14 @@
for ( TInt matchPriority = 0;
matchPriority <= maxMatchPriority; ++matchPriority )
{
- if ( matchingProperty->Matches(
- aFilterType->VersitProperties()[matchPriority]) )
+ TBool versitIsMatched = matchingProperty->Matches(
+ aFilterType->VersitProperties()[matchPriority]);
+ TBool excludedParmaterIsMatched =
+ aFilterType->ExcludedParameters().
+ ContainsAll(aFieldType.ExcludedParameters());
+ // if the FilterType is matched the Versit Property and
+ // the excludeParameter of FiledType, it needn't custom filter.
+ if ( versitIsMatched && excludedParmaterIsMatched )
{
ret = EFalse;
break;