Skip to content
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

fix: message conversation list based on user messages [DHIS2-18605] #19427

Merged
merged 1 commit into from
Dec 11, 2024

Conversation

jbee
Copy link
Contributor

@jbee jbee commented Dec 10, 2024

In my previous refactoring in #19046 I missed that MessageService#getMessageConversations() did not return all messages but just the current user's conversations. So this list needs to be the stating point.

But there is an exception to that. When query= was used the starting point are all conversations matching the query. This can be combined with filter but not with queryString and queryOperator which are a different kind of "fuzzy" search for the user's conversions (which also can be combined with filter).

@jbee jbee self-assigned this Dec 10, 2024
@jbee jbee enabled auto-merge (squash) December 10, 2024 15:56
@jbee jbee merged commit 52e4a64 into master Dec 11, 2024
16 checks passed
@jbee jbee deleted the DHIS2-18605 branch December 11, 2024 05:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants