Skip to content

Fixed checked-out button in carousel to link to book page#12152

Merged
mekarpeles merged 1 commit into
internetarchive:masterfrom
samyuktha2004:12149/hotfix/checked-out-button-misleading
May 7, 2026
Merged

Fixed checked-out button in carousel to link to book page#12152
mekarpeles merged 1 commit into
internetarchive:masterfrom
samyuktha2004:12149/hotfix/checked-out-button-misleading

Conversation

@samyuktha2004

Copy link
Copy Markdown
Contributor

The 'Checked Out' CTA in book carousels now points to the same URL as the carousel cover image link, instead of using the work_key which could be null.

This ensures consistent behavior: clicking either the cover image or the 'Checked Out' button navigation to the same book page.

Fixes #12149

Closes #12149 In internetarchive/openlibrary

Fix broken link for button for Checked out books

Technical

Testing

Go to https://openlibrary.org/
Click the Checked Out button for any relevant book.
Open book description link without borrow option, same as clicking book image

Screenshot

Stakeholders

The 'Checked Out' CTA in book carousels now points to the same URL as the
carousel cover image link, instead of using the work_key which could be null.

This ensures consistent behavior: clicking either the cover image or the
'Checked Out' button navigation to the same book page.

Fixes internetarchive#12149
@mekarpeles mekarpeles self-assigned this Mar 23, 2026
@mekarpeles mekarpeles merged commit 3e51fa1 into internetarchive:master May 7, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Checked out button misleading

2 participants