Search result items borrow status should reflect user's actions (e.g. waitlist, borrow) #781
Labels
Affects: UI
Issues with the web site's user interface. [managed]
Theme: Search
Issues related to search UI and backend. [managed]
Type: Bug
Something isn't working. [managed]
Open Library has a broken understanding of what books are readable.
solr
takes so long to index and often breaks/aborts during updatesdaisy-only
results (i.e. books which can only be read by theprint-disabled
) and books which can be read/borrowed by anyone.As a result, when
ebooks
mode is selected on Openlibrary.org /search, we make ajax calls to Archive.org's Availability v2 API to fetch filter outdaisy-only
books and to paint the UI with the correct availability information.This causes an annoying flicker in the UI which is described in #733 and should be addressed by moving this availability check + filtering to the backend in
/plugins/worksearch/code
.This issue addresses another externality of these circumstances, that the search/ results UI is not being updated to reflect users' position on waitlists / borrow status. e.g. if a user clicks "join waitlist" from the search results page, and then the user does the same search, the UI will still show "join waitlist" instead of saying, e.g. "You are next on the waitlist"
The text was updated successfully, but these errors were encountered: