Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-3334

First concern type not displaying in Archive tab

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.1
    • Fix Version/s: None
    • Component/s: Package: ILP
    • Labels:
      None

      Description

      When viewing the archive tab, the first concern type (called "Report1" by default) is not displayed when you click its second-level tab. Instead, all entries are shown. This is due to the reporttype_id for this concern type being 0 in code, which is seen as empty by line 538 of ilp_dashboard_archive_tab.php, causing part of the WHERE clause to be removed from the query.
      Changing the empty() check to a !== false fixes the problem.

        Attachments

          Activity

            People

            Assignee:
            richard.havinga Richard Havinga
            Reporter:
            marxjohnson Mark Johnson
            Participants:
            Component watchers:
            James Ballard
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated: