-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathsearch_definitions.rb
11 lines (11 loc) · 1.72 KB
/
search_definitions.rb
1
2
3
4
5
6
7
8
9
10
11
AdvancedSearch.define_field(:name => 'material_type_works_of_art', :type => :boolean, :visibility => [:staff], :solr_field => 'material_type_works_of_art_u_ubool')
AdvancedSearch.define_field(:name => 'material_type_audiovisual_materials', :type => :boolean, :visibility => [:staff], :solr_field => 'material_type_audiovisual_materials_u_ubool')
AdvancedSearch.define_field(:name => 'material_type_books', :type => :boolean, :visibility => [:staff], :solr_field => 'material_type_books_u_ubool')
AdvancedSearch.define_field(:name => 'material_type_electronic_documents', :type => :boolean, :visibility => [:staff], :solr_field => 'material_type_electronic_documents_u_ubool')
AdvancedSearch.define_field(:name => 'material_type_games', :type => :boolean, :visibility => [:staff], :solr_field => 'material_type_games_u_ubool')
AdvancedSearch.define_field(:name => 'material_type_microforms', :type => :boolean, :visibility => [:staff], :solr_field => 'material_type_microforms_u_ubool')
AdvancedSearch.define_field(:name => 'material_type_maps', :type => :boolean, :visibility => [:staff], :solr_field => 'material_type_maps_u_ubool')
AdvancedSearch.define_field(:name => 'material_type_manuscripts', :type => :boolean, :visibility => [:staff], :solr_field => 'material_type_manuscripts_u_ubool')
AdvancedSearch.define_field(:name => 'material_type_photographs', :type => :boolean, :visibility => [:staff], :solr_field => 'material_type_photographs_u_ubool')
AdvancedSearch.define_field(:name => 'material_type_realia', :type => :boolean, :visibility => [:staff], :solr_field => 'material_type_realia_u_ubool')
AdvancedSearch.define_field(:name => 'material_type_serials', :type => :boolean, :visibility => [:staff], :solr_field => 'material_type_serials_u_ubool')