Repository navigation
Conversation
|
Hi @pranshup04 — thanks for the PR! #14534 is already assigned to @RishabhIIITD, so this looks like a duplicate and we've closed it to avoid two people doing the same work. (Good First Issues are assigned to the first person who opens a ready, non-draft PR after commenting on the issue.) If you think that's wrong, or you'd like to pick it up if @RishabhIIITD steps back, leave a comment on #14534 — we'll help from there. |
| assert collator.getSortKey("abc") | ||
|
|
||
|
|
||
| class TestLanguagesRoutes: |
There was a problem hiding this comment.
❌ Change request: good instinct for manual testing, but ultimately I believe these tests are not necessary. There is no precedent for checking for deleted routes in this codebase. If your manual tests work and the rest of the tests pass, that is what matters in this case. Please remove these tests.
There was a problem hiding this comment.
@pranshup04 Once you address this, I will tag the staff member 👍
There was a problem hiding this comment.
DONE — removed TestLanguagesRoutes and kept the existing tests unchanged.
The updated commit (95faab7) is pushed to the branch:
pranshup04@95faab7
Since the bot closed the PR, I'm unable to reopen it on my end. Could you or staff please reopen it? Thanks!
|
@RayBB Could you please assign #14534 to @pranshup04 and reopen this PR? He commented first but due to another person creating a PR first, when Pranshup created this PR, it was automatically closed. He says that he pushed the changes I requested but I guess this PR is not updating since it was closed. Thanks! |
|
Done
…On Wed, Nov 18, 2026, 6:13 AM Marley Alford ***@***.***> wrote:
*marley* left a comment (internetarchive/openlibrary#14560)
<#14560 (comment)>
@RayBB <https://github.com/RayBB> Could you please assign #14534
<#14534> to
@pranshup04 <https://github.com/pranshup04> and reopen this PR? He
commented first but due to another person creating a PR first, when
Pranshup created this PR, it was automatically closed. He says that he
pushed the changes I requested but I guess this PR is not updating since it
was closed. Thanks!
—
Reply to this email directly, view it on GitHub
<#14560?email_source=notifications&email_token=AAHA5ANJEG6PB7GAPZAEY5L5ZWVBDA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTMOJYGEYDSMBUGM3KM4TFMFZW63VHNVSW45DJN5XKKZLWMVXHJLDGN5XXIZLSL5RWY2LDNM#issuecomment-6981090436>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAHA5AIVN7EAX4BL6QCN5IT5ZWVBDAVCNFSNUABBKJSXA33TNF2G64TZHM3DSNRQHE5US43TOVSTWNRUGY2DEOJXGU3THILWAI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
for more information, see https://pre-commit.ci
|
@RayBB I approve this PR |
|
Great job. Thanks both! |
Closes #14534
What does this PR achieve?
Removes the dead
/search/languagesendpoint registered inopenlibrary/plugins/worksearch/languages.py. The endpoint referenced a nonexistent template (search/languages), causing 500 server errors when visited, and is not referenced anywhere in the codebase. Language filtering is already supported through/searchand/languages.Technical
language_search(delegate.page)class and its route registration fromopenlibrary/plugins/worksearch/languages.py.ruff.Testing
openlibrary/plugins/worksearch/tests/test_languages.py:test_language_search_endpoint_removed: confirmslanguage_searchis removed from the module.test_languages_index_route_preserved: confirms the working/languagesindex route remains registered.pytest openlibrary/plugins/worksearch/tests/test_languages.py(9 passed).pytest openlibrary/plugins/worksearch/tests/(77 passed).ruff checkandruff formatverified.Stakeholders
@marley @cdrini