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 Unable to render this page Error when empty spaces passed to search/authors and search/subjects #8805

Conversation

rishabhkr-r111
Copy link
Contributor

Closes #8803

Fixed Unable to render this page Error when empty spaces passed to search/authors and search/subjects.

Technical

It is a simple fix by passing the default argument q='' to get_results function in search/authors.html and search/subjects.html.

Testing

Screenshot

image image

Stakeholders

passing default argument q='' to get_results function.
openlibrary/templates/search/authors.html Outdated Show resolved Hide resolved
@rishabhkr-r111 rishabhkr-r111 requested a review from cdrini February 9, 2024 16:40
@cdrini cdrini self-assigned this Feb 9, 2024
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.

@cdrini cdrini merged commit 1d7f17e into internetarchive:master Feb 9, 2024
3 checks passed
Achorn pushed a commit to Achorn/openlibrary that referenced this pull request Mar 14, 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.

Unable to render this page Error when empty spaces passed to search/authors and search/subjects
2 participants