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] Scope tag counts to active contributors #2070

Merged
merged 7 commits into from
Nov 19, 2024

Conversation

mattwr18
Copy link
Contributor

@mattwr18 mattwr18 commented Nov 7, 2024

Fixes #2069

@mattwr18 mattwr18 force-pushed the 2069_fix_tag_counts_to_scope_by_active_contributors branch from 53f76fe to 1f47da4 Compare November 7, 2024 16:13
Copy link
Collaborator

@roschaefer roschaefer left a comment

Choose a reason for hiding this comment

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

Perfect! 👍

perfect

Maybe you could check if any extra DB calls are fired during evaluation, but I think it's fine for now.

@mattwr18 mattwr18 force-pushed the 2069_fix_tag_counts_to_scope_by_active_contributors branch 2 times, most recently from e2bea90 to 757f8d8 Compare November 12, 2024 10:24
@mattwr18
Copy link
Contributor Author

Maybe you could check if any extra DB calls are fired during evaluation, but I think it's fine for now.

I found this fix in the issue list over at acts-as-taggable-on and it says there that it only generates one query. See mbleigh/acts-as-taggable-on#719 (comment); however, ours is generated 5

I don't know if there is a way to optimize the query.

@mattwr18 mattwr18 enabled auto-merge (squash) November 12, 2024 11:29
@mattwr18 mattwr18 force-pushed the 2069_fix_tag_counts_to_scope_by_active_contributors branch from d463298 to e365de2 Compare November 13, 2024 12:21
@mattwr18 mattwr18 force-pushed the 2069_fix_tag_counts_to_scope_by_active_contributors branch from e365de2 to 6e7c0f4 Compare November 19, 2024 11:00
@mattwr18 mattwr18 merged commit f93575d into main Nov 19, 2024
1 check passed
@mattwr18 mattwr18 deleted the 2069_fix_tag_counts_to_scope_by_active_contributors branch November 19, 2024 11:06
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.

Tag count incorrect for @available_tags
2 participants