Searching for works by an author fails
Bug #523316 reported by
Edward Betts
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Open Library |
Fix Released
|
Critical
|
Anand Chitipothu |
Bug Description
I should be able to use the API to search for all works by an author.
I would expect this URLs to return a list of works by William Shakespeare:
http://
http://
They don't give an error, I just get an empty list.
It doesn't work because they're linked by an embedded type.
This would be very useful when working with the data in the database.
Changed in openlibrary: | |
importance: | Undecided → Critical |
status: | New → Confirmed |
assignee: | nobody → Anand Chitipothu (anandology) |
importance: | Critical → High |
Changed in openlibrary: | |
milestone: | none → general-bucket |
Changed in openlibrary: | |
status: | In Progress → Fix Released |
Changed in openlibrary: | |
status: | Confirmed → Fix Released |
To post a comment you must log in.
On 17-Feb-10, at 11:00 PM, Edward Betts wrote:
> Public bug reported: openlibrary. org/query. json?type= /type/work& authors. author= /a/OL9388A upstream. openlibrary. org/query. json?type= /type/work& authors. author= /a/OL9388A
>
> I should be able to use the API to search for all works by an author.
>
> I would expect this URLs to return a list of works by William
> Shakespeare:
>
> http://
>
> http://
>
> They don't give an error, I just get an empty list.
>
> It doesn't work because they're linked by an embedded type.
>
> This would be very useful when working with the data in the database.
Use this instead:
http:// upstream. openlibrary. org/query. json?query={"type": "/type/ OL9388A" }}}
work", "authors": {"author": {"key": "/authors/