internetarchive / internetarchive/openlibrary
Work pulled in twice in collection carousel
- Dominant language
- Python
- Stars
- 6.7k
- Forks
- 2k
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 138
Description
### Problem
[“Understanding Politics”](https://openlibrary.org/collections/understanding_politics) just showed ["Wealth of Nations”](https://openlibrary.org/works/OL76827W) twice. Idk if that’s a problem with one Work being pulled twice into the carousel, if the problem is that it exists twice in the collection (and if so, how that happened), or something else.
([Posted about it in Slack](https://internetarchive.slack.com/archives/C0ETZV72L/p1716681532405139), @cdrini asked me to make an issue, so here it is!)
#### Evidence / Screenshot

#### Relevant URL(s)
* [Collection](https://openlibrary.org/collections/understanding_politics)
* [List](https://openlibrary.org/people/beaindahouse30/lists/OL201892L/To_understand_Politics)
* [Work](https://openlibrary.org/works/OL76827W)
### Reproducing the bug
1. Go to https://openlibrary.org/collections/understanding_politics
2. Look through carousel
* Expected behavior: A collection of different, unique books (Works)
* Actual behavior: A collection of different books, but with OL76827W being in there twice
### Context
- Browser (Chrome, Safari, Firefox, etc): Firefox 126
- OS (Windows, Mac, etc): etc (Linux)
- Logged in (Y/N): Y
- Environment (prod, dev, local): prod
### Notes from this Issue's Lead
#### Proposal & constraints
#### Related files
#### Stakeholders
**Note:** Before [making a new branch](https://github.com/internetarchive/openlibrary/wiki/Git-Cheat-Sheet#making-changes-and-creating-a-pull-request) _or_ updating an existing one, please [ensure your branch is up to date](https://github.com/internetarchive/openlibrary/wiki/Git-Cheat-Sheet#working-on-your-branch).
Contributor guide
Assessment
This issue has not been assessed yet.