Skip to content

Commit

Permalink
Add comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
tpendragon committed Jan 4, 2021
1 parent 1e98b38 commit 5848ed1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/indexers/plum_jsonld_converter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,8 @@ def collections
end
end

# Return all collections which aren't boxes (have a barcode) and which
# aren't the LAE collection (which is every item.)
def eligible_collections
Array.wrap(json["memberOf"]).select do |member|
member["barcode"].blank? && member["title"] != "Latin American Ephemera"
Expand Down

0 comments on commit 5848ed1

Please sign in to comment.