Uploaded image for project: 'Hue (READ ONLY)'
  1. Hue (READ ONLY)
  2. HUE-2540

[search] Pagination result number labels are not always accurate

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.6.0
    • Fix Version/s: 3.8.0
    • Component/s: app.dashboard
    • Labels:
      None
    • Environment:

      CDH 5.1.3 running on CentOS 6.4 using Java 1.7.0u21

      Description

      This is a minor UI issue.

      I created a dashboard using the Search App in CDH. The main area of the page was occupied by the "Grid Results" widget. Since there were lots of results in my collection, the label above it said "Showing 1 to 10 of 70 results" but when I filtered the collection, it said "Showing 1 to 10 of 9 results" instead.

      Of course, it's not possible to show results 1 to 10 when you only have nine results. It seems like the fix would be to make the second number the lesser of (starting record number + page size) or the total number of results.

        Attachments

          Activity

            People

            • Assignee:
              romain Romain Rigaux
              Reporter:
              twheeler@cloudera.com Tom Wheeler
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: