internetarchive / internetarchive/openlibrary

Works are NOT included in exported lists, but editions are.

Open
#3,602 0 comments 0 reactions 0 assignees View on GitHub
Lead: @mekarpeles Priority: 3 Theme: Lists Type: Bug
Dominant language
Python
Stars
6.7k
Forks
2k
Avg merge
2d 19h
Merged PRs (30d)
138

Description

Exported lists do not include any works on that list, but editions ARE included.
I have tested JSON, HTML & BibTex - all three formats exhibit the same exact issue.

JSON "squeaks out" a short string. (see screenshot below)
HTML and BibTex return a blank screen.

### Evidence / Screenshot (if possible)
![image](https://user-images.githubusercontent.com/9367321/87994778-d0437b80-cabb-11ea-88bc-6da896ff19c2.png)

### Relevant url?
I have three lists you can use to test:

1. **Only has works records**
https://openlibrary.org/people/spam_spam_bacon_spam/lists/OL160737L/Works!!

2. **Only has editions records**
https://openlibrary.org/people/spam_spam_bacon_spam/lists/OL160762L/Editions

3. **Has 1 edition record and 3 works records** https://openlibrary.org/people/spam_spam_bacon_spam/lists/OL160823L/The_Best_American_Short_Stories_(2007_-_)_Heidi_Pitlor

### Steps to Reproduce
While viewing a list, chose any format to export it.
For me, the export is returned to the same tab. YMMV

### Details

- **Logged in (Y/N)?** Y
- **Browser type/version?** Edge
- **Operating system?** Win 10
- **Environment (prod/dev/local)?** prod

### Proposal & Constraints

### Related files

### Stakeholders

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.