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

PROD-7724 - Fix: Count of connection and following in members page. #4498

Open
wants to merge 12 commits into
base: release
Choose a base branch
from

Commits on Sep 9, 2024

  1. Configuration menu
    Copy the full SHA
    c62ed93 View commit details
    Browse the repository at this point in the history

Commits on Sep 16, 2024

  1. Configuration menu
    Copy the full SHA
    9659b18 View commit details
    Browse the repository at this point in the history
  2. PROD-7724: Fix total_friend_count meta update issue when member is su…

    …spended
    
    Issue: total_friend_count meta was not updating correctly due to a strict type comparison between user_id (string) and friend_ids (integer).
    Root Cause: The condition 'hide' === $type && in_array( $user_id, $friend_ids, true ) was failing because in_array was performing a strict type check (true flag), and $user_id was a string while friend_ids were integers.
    Fix: Cast $user_id to integer before comparison to ensure the condition is satisfied.
    jitendrabanjara1991 committed Sep 16, 2024
    Configuration menu
    Copy the full SHA
    b537e32 View commit details
    Browse the repository at this point in the history
  3. PROD-7724 - Add filter to exclude moderated users from friendship SQL

    - Added a filter to the friendship SQL query that excludes moderated/suspended users. This ensures accurate friendship counts when running the 'Repair total connections count for each member' tool from the admin panel, preventing incorrect counts for users with suspended friendships.
    jitendrabanjara1991 committed Sep 16, 2024
    Configuration menu
    Copy the full SHA
    f57069a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a97be86 View commit details
    Browse the repository at this point in the history
  5. PROD-7724 - Update db version to run migrate code

    - Add migration code to fix my connection count and remove suspend user from follow table if any user is suspended
    jitendrabanjara1991 committed Sep 16, 2024
    Configuration menu
    Copy the full SHA
    9a9e864 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    4de08dc View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    88b6306 View commit details
    Browse the repository at this point in the history

Commits on Sep 17, 2024

  1. Configuration menu
    Copy the full SHA
    ca3bca5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    58fb624 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c0503ab View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6ab7905 View commit details
    Browse the repository at this point in the history