Closed Bug 661544 Opened 13 years ago Closed 13 years ago

"Answers" and "Solutions" for each user on answers pages are lies

Categories

(support.mozilla.org :: Questions, task)

task
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED
2011-06-14

People

(Reporter: jsocol, Assigned: jsocol)

Details

We relabeled two numbers as "Answers" and "Solutions" but they are not, in fact, the correct values for those. The query for "Answers" is actually "Questions + Answers" and is _extremely_ slow. We should fix that so it's accurate and fast.
https://github.com/jsocol/kitsune/commit/15bf47e17

There are some internal name changes to make things consistent, but the big thing to notice is that questions will no longer count as "answers," so if a user "Foo" has 2 questions, 3 answers, and one of the answer is a solution, the numbers on a page of answers should be:

"Foo
1 Solution
3 Answers"

Before, that would have said "1 solution; 5 answers" incorrectly.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Verified solutions and answers update correctly for users.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.