Skip to content

Item histories are truncated #12420

Description

@seabelis

Problem

Item histories do not list all pages. Footer pagination is missing and navigation arrows navigate to a mostly blank page.

https://openlibrary.org/works/OL16282945W/Cinder?m=history&b=21
Image

https://openlibrary.org/works/OL16282945W/Cinder?m=history&b=21&page=2
Image

This example jumps from v22 to v1:
https://openlibrary.org/works/OL8407305W/Casenote_Legal_Briefs?m=history

Image

https://openlibrary.org/works/OL8407305W/Casenote_Legal_Briefs?m=history&page=2

Image

Reproducing the bug

  1. Go to ...https://openlibrary.org/works/OL8407305W/Casenote_Legal_Briefs?m=history
  2. Do ...Try to get history between v1 and v22.
  • Expected behavior: History should be available.
  • Actual behavior: History jumps from v22 to v1.

Context

  • Browser (Chrome, Safari, Firefox, etc):
  • OS (Windows, Mac, etc):
  • Logged in (Y/N):
  • Environment (prod, dev, local): prod

Breakdown

Implementation Details (for maintainers)

Requirements Checklist

  • [ ]

Related files

Stakeholders


Instructions for Contributors

  • Please run these commands to ensure your repository is up to date before creating a new branch to work on this issue and each time after pushing code to Github, because the pre-commit bot may add commits to your PRs upstream.

Metadata

Metadata

Assignees

Labels

Affects: UIIssues with the web site's user interface. [managed]Needs: BreakdownThis big issue needs a checklist or subissues to describe a breakdown of work. [managed]Needs: LeadNeeds: TriageThis issue needs triage. The team needs to decide who should own it, what to do, by when. [managed]Type: BugSomething isn't working. [managed]

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions