Content-Length: 285802 | pFad | https://github.com/internetarchive/openlibrary/pull/9170

A3 Fix publish year graph on subjects pages no longer filtering by Mones26 · Pull Request #9170 · internetarchive/openlibrary · GitHub
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix publish year graph on subjects pages no longer filtering #9170

Merged
merged 6 commits into from
Apr 28, 2024

Conversation

Mones26
Copy link
Contributor

@Mones26 Mones26 commented Apr 28, 2024

Closes #8962

Fixes bug such that certain year in Publishing history now properly limits carousel works to the clicked year

Technical

Implementation gets rid of an unrequired input into the fetchMore inside of Carousel.js Also, the previous for loop was left on lines 191-193 such that if any other parameters need to be added into url.searchParams, the code still works as expected and no changes should be required.

Testing

Go into Books section on Open Library. Highlight the Graph underneath the Carousel for specific year range and notice how the Carousel matches the Books and year range from the graph.

Screenshot

IMG_6210
IMG_9195
IMG_5763

Stakeholders

@cdrini

Copy link
Collaborator

@cdrini cdrini left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested on testing.openlibrary.org and works like a charm! Thanks folks!

@cdrini cdrini merged commit 01d693d into internetarchive:master Apr 28, 2024
3 checks passed
@cdrini cdrini changed the title Carousel Fix publish year graph on subjects pages no longer filtering Apr 29, 2024
merwhite11 pushed a commit to merwhite11/openlibrary that referenced this pull request May 2, 2024
…#9170)

Co-authored-by: Daniel Chen <yumpty@daniels-air-10.wifi.local.cmu.edu>
Co-authored-by: pust1n <justin686867@gmail.com>
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.

Clicking on certain year in Publishing history doesn't limit carousel works to the clicked year
3 participants








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/internetarchive/openlibrary/pull/9170

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy