Skip to content

Json searching by key:/books/ or key:/isbn/ no longer works #11683

@ltctceplrm

Description

@ltctceplrm

Problem

In the past I was able to use this type of url https://openlibrary.org/search.json?q=key:/works/OL45804W&fields=key,title,author_name,number_of_pages_median,first_publish_year,isbn,ratings_score,first_sentence,title_suggest,rating*,cover* as a kind of universal search by ID to get the info I wanted whether I was searching for a specific work, edition or just an isbn number but now that is no longer possible and just gives an empty result. Using the same url but with a /works/ ID instead still works as before

Screenshots
/books/
Image
/isbn/
Image
/works/
Image

Reproducing the bug

  1. Go to https://openlibrary.org/search.json?q=key:/books/OL29345231M&fields=key,title,author_name,number_of_pages_median,first_publish_year,isbn,ratings_score,first_sentence,title_suggest,rating*,cover*
  2. See the empty json
  • Expected behavior: Full json
  • Actual behavior: Empty json

Context

  • Browser (Chrome, Safari, Firefox, etc): Firefox
  • OS (Windows, Mac, etc): Windows
  • Logged in (Y/N): N
  • Environment (prod, dev, local): prod

Breakdown

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs: BreakdownThis big issue needs a checklist or subissues to describe a breakdown of work. [managed]Needs: LeadNeeds: ResponseIssues which require feedback from leadNeeds: TriageThis issue needs triage. The team needs to decide who should own it, what to do, by when. [managed]Type: BugSomething isn't working. [managed]

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions