buda-base / BDRC-Lib-App

5 stars 2 forks source link

Integrate Availability Status #108

Open subsystem7 opened 2 years ago

subsystem7 commented 2 years ago

blocked by #101

Add "av" field to WorkJSON with the following values and effects:

Value Description
o This represents normal state
n This indicates that the work has no PDF available, and therefore the "Available Downloads" feature is hidden.
ia This indicates that the work is available through the Internet Archive (archive.org). VIEW and Available Downloads should be hidden from the interface, and a new
na NA meaning not available results in no VIEW or Available Downloads buttons.

This availability status will be used to dictate content links and viewing . Additionally, it will be used to filter results and displayed as meta-data on the detail cards.