Project

General

Profile

Actions

Bug #7385

closed

[Workbench] Pagination sets limit on last page, causing unintended side effects

Added by Ward Vandewege over 8 years ago. Updated about 2 months ago.

Status:
Closed
Priority:
Normal
Assigned To:
-
Category:
Workbench
Target version:
Story points:
-
Release:
Release relationship:
Auto

Description

When viewing the last page on a paginated resource (for instance, collections) in workbench, a limit=remainder is introduced in the url. That limit is then applied to generate all the links to the pages at the top and bottom of the list.

The effect is that when there is a list of 102 items, and the default pagination is 100, you see a page 1 and 2 link on the first page.

If you click on the '2' for page 2, you see the 2 last items in the list, but you now also see a list of 51 pages and each of those pages has just 2 items.

Actions

Also available in: Atom PDF