[Problem/Question]
I need to filter chats inside SBUGroupChannelListViewController by chat name or by members nickname. I can set query to both fields nicknameContainsFilter and channelNameContainsFilter of variable of type GroupChannelListQueryParams and it uses this filters with AND operator. There is also method setSearchFilter but it doesn’t work. So my question is can I filter channel list by chat name or by members nickname.
[UIKit Version]
SendbirdUIKit 3.2.1
[Reproduction Steps]
- Override createViewModel method of SBUGroupChannelListViewController.
- Create GroupChannelListQueryParams variable, set nicknameContainsFilter, set channelNameContainsFilter.
- Create GroupChannelListQuery variable from parameters.
- Call super.
- Check the result that operator AND is used to all filters.
[Frequency]
Always.
[Current impact]
It decreases UX of iOS application cause we limit users to filter chats either by chat name or by members nickname.