FLUID-3475: Pager is displayed regardless of the number of items returned

Metadata

Source
FLUID-3475
Type
Bug
Priority
Major
Status
Open
Resolution
N/A
Assignee
Antranig Basman
Reporter
Erin Yu
Created
2010-01-13T17:28:58.000-0500
Updated
2021-07-15T08:32:50.530-0400
Versions
  1. 1.2
  2. 1.3
  3. 1.4
  4. 1.5
  5. 2.0
Fixed Versions
N/A
Component
  1. Pager

Description

Currently when the number of items returned is less than the number of items per page, the pager still displays previous and back buttons as links and a static text "1(last)".

Desired behaviour:
1. When # of items returned < # of items per page
Don't display page links, previous/next buttons
Do display the dropdown for "Show # per page" and "1-5 of 5 items"

2. When 0 items return
Don't display pager at all
Do display an appropriate message such as "No matches found"