FLUID-1805: OSDPL: Pattern category navigation in left sidebar reporting incorrect quantity.

Metadata

Source
FLUID-1805
Type
Bug
Priority
Minor
Status
Closed
Resolution
Won't Fix
Assignee
Jonathan Hung
Reporter
Jonathan Hung
Created
2008-11-13T19:32:22.000-0500
Updated
2014-04-02T16:35:53.807-0400
Versions
  1. 0.6beta1
Fixed Versions
N/A
Component
  1. OSDPL

Description

In the left sidebar, the design pattern category is reporting an incorrect node count.

Example: Navigation (3)

However, clicking on the link gives you a listing of 0 patterns. This is because the category count is counting unpublished articles too, which is incorrect.

To fix this:

  • Admin > Block > Design Pattern Categories > Configuration
  • Change the mySQL query to do a JOIN on the {nodes} and {term_node} tables, accounting for {nodes}->status == 1 (published).

Comments

  • Jonathan Hung commented 2008-11-13T19:32:36.000-0500

    Iteration22 if there is time.