Skip to content

Commit

Permalink
deprioritize darked/broken items
Browse files Browse the repository at this point in the history
  • Loading branch information
mekarpeles committed Mar 17, 2022
1 parent 8952b38 commit 1c408d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openlibrary/solr/update_work.py
Original file line number Diff line number Diff line change
Expand Up @@ -768,7 +768,7 @@ def add_list(name, values):
borrowable_editions.add(ocaid)
elif 'printdisabled' in collections:
printdisabled_editions.add(ocaid)
elif e.get('access_restricted_item', False) == "true":
elif e.get('access_restricted_item', False) == "true" or not collections:
unclassified_editions.add(ocaid)
else:
public_scan = True
Expand Down

0 comments on commit 1c408d0

Please sign in to comment.