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

Issue #3476409: Add hook to alter query and conditions of activities v… #4089

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Kovalskiy266
Copy link
Contributor

@Kovalskiy266 Kovalskiy266 commented Sep 24, 2024

Problem

ActivityFilterPersonalzedHomepage plugin filters the activity on the stream on the home page. However, it filters by the three types node, comment, and post. If we want to display activities related to a custom entity, we get a bug - these activities are simply not displayed on the stream for verified users.

Solution

Add a hook this plugin, to have the possibility to alter the query of this filter, and also specifically alter the condition in one of the OR group conditions

Issue tracker

https://www.drupal.org/project/social/issues/3476409

Theme issue tracker

N/A

How to test

N/A

Screenshots

N/A

Release notes

Change Record

Translations

N/A

@Kovalskiy266 Kovalskiy266 added type: feature Adds a new feature to Open Social status: needs review This pull request is waiting for a requested review prio: medium team: iata labels Sep 24, 2024
@Kovalskiy266 Kovalskiy266 added this to the 13.0.0-alpha13 milestone Sep 24, 2024
@Kovalskiy266 Kovalskiy266 self-assigned this Sep 24, 2024
@Kovalskiy266 Kovalskiy266 changed the title Issue #3476409:Add hook to alter query and conditions of activities v… Issue #3476409: Add hook to alter query and conditions of activities v… Sep 24, 2024
@Kovalskiy266 Kovalskiy266 force-pushed the feature/3476409-add-hook-to-activity-filter-plugin-for-alter-query branch from bae0859 to 868df59 Compare November 12, 2024 09:51
@open-social-tugboat
Copy link

Tugboat has finished building the preview for this pull request!

Link:

Dashboard:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
prio: medium status: needs review This pull request is waiting for a requested review team: iata type: feature Adds a new feature to Open Social
Development

Successfully merging this pull request may close these issues.

4 participants