[Bug 1605607] [NEW] event report limit feature counts NA when hidden

Public bug reported:

The "limit to X top rows" feature has a couple of issues:
- for option sets, it counts N/A in the top X (it is among the top X), even when N/A is not hidden. For example, if making a table with "Top 10", it will only show nine entries if N/A is among top 10 but is not displayed
- I expected the tables to be sorted by the total when the table has multiple columns, but it is not

** Affects: dhis2
     Importance: Undecided
         Status: New

···

--
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1605607

Title:
  event report limit feature counts NA when hidden

Status in DHIS:
  New

Bug description:
  The "limit to X top rows" feature has a couple of issues:
  - for option sets, it counts N/A in the top X (it is among the top X), even when N/A is not hidden. For example, if making a table with "Top 10", it will only show nine entries if N/A is among top 10 but is not displayed
  - I expected the tables to be sorted by the total when the table has multiple columns, but it is not

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1605607/+subscriptions