Uploaded image for project: 'Fluid Infusion'
  1. Fluid Infusion
  2. FLUID-1805

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 0.6beta1
    • Fix Version/s: None
    • Component/s: OSDPL
    • Labels:
      None

      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).

        Attachments

          Activity

            People

            Assignee:
            jhung Jonathan Hung
            Reporter:
            jhung Jonathan Hung
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified