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 account filtering in Server Activity tab #9481

Merged
merged 1 commit into from
Mar 11, 2022

Conversation

erikjv
Copy link
Collaborator

@erikjv erikjv commented Mar 2, 2022

Fixes: #9425

@erikjv erikjv added this to the 2.10.1 milestone Mar 2, 2022
@erikjv erikjv requested a review from TheOneRing March 2, 2022 14:53
@erikjv erikjv force-pushed the work/fix-account-filter-logic branch from 9fa9382 to 9293f81 Compare March 3, 2022 12:18
Copy link
Contributor

@fmoc fmoc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good in general. Please implement the requested changes in changelog file.

The `Models::addFilterMenuItems` method is used in 2 cases, once in the
`ActivityWidget`, and once in the `ProtocolWidget`. Both have their own
item model, so both need their own role passed in for filtering on.

The bug was that `ProtocolItemModel::ProtocolItemRole::Account` was used
forall cases, even when a `ActivityListModel::ActivityRole::Account`
should have been passed in.

Fixes: #9425
@erikjv erikjv force-pushed the work/fix-account-filter-logic branch from 9293f81 to a6bc1d5 Compare March 11, 2022 13:46
@sonarcloud
Copy link

sonarcloud bot commented Mar 11, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

@TheOneRing TheOneRing merged commit 2fc0c11 into 2.10 Mar 11, 2022
@delete-merged-branch delete-merged-branch bot deleted the work/fix-account-filter-logic branch March 11, 2022 14:35
@gabi18 gabi18 mentioned this pull request Mar 15, 2022
55 tasks
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.

None yet

3 participants