chocolatey / chocolatey-licensed-issues

Issues for Licensed Editions of Chocolatey
19 stars 13 forks source link

Central Management - Incorrect total number of affected instances within Outdated Software Details Report Details #265

Closed sync-by-unito[bot] closed 2 years ago

sync-by-unito[bot] commented 2 years ago

Description

The footer under the table in the Outdated Software Details Report screen always says Showing 1 to 10 of 10 entries rather than accurately showing the total number of outdated pieces of software that are in the system. For example, in this screenshot:

image

Steps To Reproduce

  1. Log into CCM
  2. Navigate to the Reports | Outdated Software screen
  3. Go into the CCM Database and mark more than 10 Software as being outdated
  4. Generate a new Outdated Software Report
  5. Go into the details for the Outdated Software Report
  6. See that the lower part of the table always says Showing 1 to 10 of 10 entries when there should be more
  7. This can be verified by Exporting to either PDF or Excel, which will contain all the entries

Output Log

N/A - This only shows itself within the CCM Website

Workarounds

There currently isn't a workaround for this problem.

Proposed Solution

The total count for the GetAllByReportId query needs to be updated to correctly count the number of reports that are in the system, rather than returning the total of the first page of results. Same as was done in the related GitLab issue.

Related Issues and Tickets

[Zendesk Ticket]() - There isn't one yet, but this needs to be created GitLab Issue

Done Checklist

┆Issue is synchronized with this Gitlab issue by Unito ┆Milestone: 0.6.3