cabennett85/gittest — Issue #1565: Q&A page under profile should show question count instead of answer count
Author: cabennett85
Created: 2012-03-02 00:54:34+00:00
State: open

In the header on member_question_answer.php there's a count displayed. It feels like it should be the question count, but we're actually displaying the answer count.

From the code, function get_member_activity_counts in member_functions.php:

{{{
// answers
$member_answers = get_object("member_answers", "mid='$member->mid'", "COUNT(aid) AS count");
$activity_count['answers'] = $member_answers->count;
}}}

This count is also wrong in the left sidebar, showing answer count vs question count, even though it says "Questions" here.

Claribel, wanted to check with you, any recollection on why this is answers and not questions? Quick fix, but wanted to see if you remember anything about this.