lib/stanford-mods/searchworks.rb in stanford-mods-1.5.2 vs lib/stanford-mods/searchworks.rb in stanford-mods-1.5.3
- old
+ new
@@ -364,9 +364,13 @@
if types && types.include?('text')
val << 'Technical report'
end
end
end
+ # Archived website is in the MODS genre tag but it is considered a
+ # Resource type for Searchworks, so it needs to be removed from the
+ # applicable genre values
+ val.delete 'Archived website'
val.uniq
end
# @return [String] value with the numeric catkey in it, or nil if none exists
def catkey