If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

Make forums.models.* get_absolute_url() methods make as few queries as possible

RESOLVED FIXED

Status

support.mozilla.org
Code Quality
P3
normal
RESOLVED FIXED
7 years ago
3 years ago

People

(Reporter: jsocol, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

7 years ago
Like the recent patch to Answer.get_absolute_url(), we should streamline the get_absolute_url() methods of the forums models to make fewer queries. Most Thread should be able to get away with none, and Post should only need one.
Er. Do we still need this bug from 3 years ago?

Updated

3 years ago
Component: Forum → Code Quality
SUMO IS SNAPPY THESE DAYS
Status: NEW → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → FIXED
OOPS. WRONG BUG!
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
This looks like it was done. The methods look almost the same for forums posts and question answers.
Status: REOPENED → RESOLVED
Last Resolved: 3 years ago3 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.