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

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