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

Fixed Changing sort order of works on author page should reset page to 1 #8728

Conversation

rishabhkr-r111
Copy link
Contributor

Closes #8723

Fixed Changing sort order of works on author page should reset page to 1
by modifying openlibrary/templates/search/sort_options.html
by setting page=None wherever it calls changequery.

Technical

Testing

Screenshot

Page no - 2
image

After sorting page no reset to page 1
image

Stakeholders

by modifing
	openlibrary/templates/search/sort_options.html
by setting page=None wherever it calls changequery.
@rishabhkr-r111
Copy link
Contributor Author

@cdrini made a PR

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 , works like a charm! Thank you @rishabhkr-r111 !

@cdrini cdrini merged commit 5272516 into internetarchive:master Jan 17, 2024
3 checks passed
@cdrini cdrini self-assigned this Jan 17, 2024
@cdrini cdrini added the On testing.openlibrary.org This PR has been deployed to testing.openlibrary.org for testing label Jan 17, 2024
@jimchamp jimchamp removed the On testing.openlibrary.org This PR has been deployed to testing.openlibrary.org for testing label Apr 2, 2024
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.

Changing sort order of works on author page should reset page to 1
3 participants