Comment 1 for bug 861888

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/749
Committed: http://gitorious.org/mahara/mahara/commit/43d739ebaea07278d5d3bc22ceb9bfa50130e411
Submitter: Richard Mansfield (<email address hidden>)
Branch: master

commit 43d739ebaea07278d5d3bc22ceb9bfa50130e411
Author: Richard Mansfield <email address hidden>
Date: Thu Sep 29 11:25:31 2011 +1300

    Simplify query to get user data for find/my friends (bug #861888)

    The query to get user data on the my friends and find friends pages
    has an unnecessary union, with one select to get pending friends, and
    another to get everyone else.

    The result of this is that pending friends are sometimes not shown as
    pending if their record was returned by both parts of the query, and
    so the logged-in user sometimes can't accept requests on these pages.

    Change-Id: I31347d680988f94d9329abb5c2338c0c8c285b00
    Signed-off-by: Richard Mansfield <email address hidden>