Skip to content

Commit

Permalink
Update ids_controller.rb
Browse files Browse the repository at this point in the history
Add missing facets
  • Loading branch information
ewlarson committed Dec 7, 2023
1 parent 8ae4580 commit b0a96a4
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion app/controllers/admin/ids_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,13 @@ class IdsController < ApplicationController
}

# Publication State
config.add_facet_field Settings.FIELDS.B1G_PUBLICATION_STATE, show: false
config.add_facet_field Settings.FIELDS.B1G_PUBLICATION_STATE, :label => 'Publication State', :limit => 8, collapse: false

# Accession Date
config.add_facet_field Settings.FIELDS.B1G_DATE_ACCESSIONED, :label => 'Date Accessioned', :limit => 8, collapse: false

# Import ID
config.add_facet_field Settings.FIELDS.B1G_IMPORT_ID, label: "Import ID", show: false

# Resouce Class
config.add_facet_field Settings.FIELDS.RESOURCE_CLASS, show: false
Expand Down

0 comments on commit b0a96a4

Please sign in to comment.