-
Notifications
You must be signed in to change notification settings - Fork 211
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The search is not working as expected. #3538
Comments
Hi @Zee-93, At the moment, is not possible to search by Channel and Messages at the same time. You can only search by one of them. Please read the docs on how to configure search: https://getstream.io/chat/docs/sdk/ios/uikit/components/channel-list/#search Thank you, |
Hey,
What are the required methods to do so. What is needed to update within the
code if i want to add only search by name option?
…On Thu, 19 Dec 2024, 12:27 am Nuno Vieira, ***@***.***> wrote:
Hi @Zee-93 <https://github.com/Zee-93>,
At the moment, is not possible to search by Channel and Messages at the
same time. You can only search by one of them.
Please read the docs on how to configure search:
https://getstream.io/chat/docs/sdk/ios/uikit/components/channel-list/#search
Thank you,
Nuno
—
Reply to this email directly, view it on GitHub
<#3538 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A6MIJF5WLWDZVWCMT3EG42D2GHEALAVCNFSM6AAAAABT3K6JFOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNJSGEYDMMJSG4>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Have you read the document I provided? It is pretty clear. Also, make sure you update the SDK to the latest version to have the configuration available. Best, |
@nuno-vieira The issue still persist. I have implemented the said changes and now search does not display any results. Please see the attached video. I have also added a snapshot of the code which shows that i have applied the searchType as "channels". Search_23.mov |
@Zee-93 You already opened the exact same issue here: #3262 Channel search only works by channel names. If the channel does not have a name, it won't work. Searching by channel member name has performance issues, so it is not supported in the iOS SDK at the moment. We will let you know once the backend supports this. |
@nuno-vieira How can we request this feature. Also if we dont set any channel name then whats the default channel name, so that we atleast see the search working. |
What did you do?
I entered a name in the search bar, and eventually it didnt filter out the channels by name.
What did you expect to happen?
I expected that search will return the list with the names which i entered in textbox.
What happened instead?
Instead of showing a list with the names it shows all those conversations which had the search text in them in the last sent message.
GetStream Environment
ios
GetStream Chat version:
4.28.0
GetStream Chat frameworks: StreamChat, StreamChatUI
streamChat, StreamChatUI
iOS version:
16-17-18
Swift version:
4,5
Xcode version:
16.2
Device:
All iphones
Additional context
A video recording is attached for the reference.
Screen.Recording.2024-12-18.at.12.49.02.PM.mov
The text was updated successfully, but these errors were encountered: