Skip to content

Commit

Permalink
Fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
ebtoner committed Apr 4, 2023
1 parent 83b61a4 commit daa678e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cob_index/macros/custom.rb
Original file line number Diff line number Diff line change
Expand Up @@ -638,7 +638,7 @@ def extract_copyright

def suppress_items
lambda do |rec, acc, context|
full_text_link = rec.fields("856").select { |field| field["u"] unless field.indicator2 = "2" }
full_text_link = rec.fields("856").select { |field| field["u"] unless field.indicator2 == "2" }
purchase_order_item = rec.fields("902").select { |field| field["a"].match?(/EBC-POD/) if field["a"] }
unwanted_library = rec.fields("HLD").select { |field| field["b"] == "EMPTY" || field["c"] == "UNASSIGNED" || field["c"] == "intref" || field["c"] == "techserv" }
u_subfields = []
Expand Down

0 comments on commit daa678e

Please sign in to comment.