make sure Search checks contact organization too

This commit is contained in:
tibbi 2018-04-08 11:36:51 +02:00
parent d5c9d32f86
commit bde0ad34ea
1 changed files with 3 additions and 1 deletions

View File

@ -237,7 +237,9 @@ abstract class MyViewPagerFragment(context: Context, attributeSet: AttributeSet)
it.phoneNumbers.any { it.value.contains(text, true) } ||
it.emails.any { it.value.contains(text, true) } ||
it.addresses.any { it.value.contains(text, true) } ||
it.notes.contains(text, true)
it.notes.contains(text, true) ||
it.organization.company.contains(text, true) ||
it.organization.jobPosition.contains(text, true)
} as ArrayList
Contact.sorting = config.sorting