Feature #7720

Limit the pagination-limit when max-results is fewer than max-pagination-limit

Added by Carl Helmertz over 6 years ago. Updated over 5 years ago.

Status:ClosedStart date:2011-02-25
Priority:LowDue date:
Assignee:Jean-Philippe Lang% Done:

0%

Category:UI
Target version:2.0.0
Resolution:Fixed

Description

Here are some easy points to score for anyone who is more comfortable in Ruby than I am.

When there's a total of 26 issues in a listing/overview of issues, the option "100" (as in "show 100 items per page") is still visible.

The same thing goes for an issue list with only 1 issue on it, there's no need for any pagination at all there, it's just cluttering the UI.


Related issues

Duplicated by Redmine - Defect #10860: Per page is enable even there are 2 or 3 items Closed

Associated revisions

Revision 9664
Added by Jean-Philippe Lang over 5 years ago

Adaptive display of "Per page" links (#7720).

History

#1 Updated by Jean-Philippe Lang over 6 years ago

  • Tracker changed from Patch to Feature
  • Category changed from Issues to UI

#2 Updated by Jean-Philippe Lang over 5 years ago

  • Status changed from New to Closed
  • Assignee set to Jean-Philippe Lang
  • Target version set to 2.0.0
  • Resolution set to Fixed

Committed in r9664.

Also available in: Atom PDF