internetarchive / internetarchive/openlibrary

Carousels pulled from Lists only show works

Open
#6,470 1 comment 0 reactions 0 assignees View on GitHub
Lead: @jimchamp Priority: 3 Theme: Lists Type: Bug
Dominant language
Python
Stars
6.7k
Forks
2k
Avg merge
2d 19h
Merged PRs (30d)
138

Description

Currently, carousels that are created using patron lists only display works and not editions. Therefore, if a list contains multiple editions that belong to the same work, only a single instance of the work is displayed on the carousel.

### Evidence / Screenshot (if possible)
Here is a list with 15 entries:

This carousel pulling from the same list only populates 3 entries:

### Relevant url?
[A Bible Collection](https://openlibrary.org/collections/[A_Bible_Collection])
[Bible List](https://openlibrary.org/people/tpalmer3041/lists/OL203794L/Bible)

### Steps to Reproduce

1. Go to [Bible List](https://openlibrary.org/people/tpalmer3041/lists/OL203794L/Bible) and verify the list has 15 entries.
2. Go to [A Bible Collection](https://openlibrary.org/collections/[A_Bible_Collection]) and observe the carousel labeled "Bible" is not populating all entries in the list.
3. Verify the carousel code is pulling from list OL203794L.

* Actual:
* Expected:

### Details

- **Logged in (Y/N)?**
- **Browser type/version?**
- **Operating system?**
- **Environment (prod/dev/local)?** prod

### Proposal & Constraints

### Related files

### Stakeholders

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.