Uploaded image for project: 'AeroGear'
  1. AeroGear
  2. AEROGEAR-1070

Paging should only show the last items on final page

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Critical
    • 1.1.0
    • 1.0.0
    • controller
    • None

    Description

      When paging through items, the last page should only show the remaining items in the set, not the last full page of items.

      Steps to reproduce:
      1. Create a data set with 5 items
      2. Set paging to 4 items per page and get first page (ex. /cars?offset=0&limit=4). Returns items 0 - 3
      3. Get next page (ex. /cars?offset=1&limit=4)
      4. Expected result is item 4 but instead returns items 1 - 4

      Attachments

        Activity

          People

            dbeveniu Daniel Bevenius (Inactive)
            kborchers Kris Borchers (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: