get_bug_tags_open_count() should filter out zero-count tags at the db level

Bug #271686 reported by Björn Tillenius
4
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Undecided
Björn Tillenius

Bug Description

We don't display tags having no open bugs in the UI. However, those are included in the result from the db query, and then later filtered out in python. We should filter out tags tags having no open bugs at the db level, since that makes the db query execute faster.

OOPS-992C1041

Tags: lp-bugs
Changed in malone:
milestone: none → 2.1.10
status: New → Triaged
Changed in malone:
assignee: nobody → bjornt
status: Triaged → In Progress
Revision history for this message
Christian Reis (kiko) wrote :

Note that some people have reported that my fix for bug 59154 didn't work, and I think it's related to results coming back from the query (but am not sure).

Revision history for this message
Christian Reis (kiko) wrote :
Revision history for this message
Björn Tillenius (bjornt) wrote :

Fixed in RF 7038.

Changed in malone:
status: In Progress → Fix Committed
Changed in malone:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.