internetarchive / internetarchive/openlibrary

Book pages don't show list inclusion if list addition was done from search results or from author page

Open
#9,039 5 comments 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

### Problem

Book pages don't show list inclusion if list addition was done from search results or from author page. Book pages only indicate list inclusion if list addition was done from the book page.

On a more positive note, going to the list page reveals that the book is always added to the list in each of the 3 cases — whether the addition was done from the book page, from the search results or from the author page.

### Reproducing the bug

1. Log into your OpenLibrary account
2. Do a book search, or just click this link: https://openlibrary.org/search?q=Flowers&mode=everything
3. Clicking on the bottom arrow near the "Want to Read" button and add a random book to a list.
4. Click on the book title and see that the list to which you added this book is not shown.
5. Go to the list where you added this book and see that it's been added despite the list addition not being indicated on the book page.

The same thing happens if you add a book to a list from the author page.
The book is added to the list you chose but the list name isn't indicated on the page of the book.

* Expected behavior: Book pages indicating list inclusion whether list addition was done from the book page, from the search results page or from the author.
* Actual behavior: Book pages only indicate list inclusion if list addition was done from the book page.

### Context

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

### Notes from this Issue's Lead

#### 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.