lib/stanford-mods/searchworks.rb in stanford-mods-1.3.4 vs lib/stanford-mods/searchworks.rb in stanford-mods-1.4.0
- old
+ new
@@ -221,9 +221,10 @@
# select one or more format values from the controlled vocabulary here:
# http://searchworks-solr-lb.stanford.edu:8983/solr/select?facet.field=format&rows=0&facet.sort=index
# @return <Array[String]> value in the SearchWorks controlled vocabulary
# @deprecated - kept for backwards compatibility but not part of SW UI redesign work Summer 2014
+ # @deprecated: this is no longer used in SW, Revs or Spotlight Jan 2016
def format
val = []
types = self.term_values(:typeOfResource)
if types
genres = self.term_values(:genre)