Skip to content

Commit

Permalink
CatalogController: use author label for index field display
Browse files Browse the repository at this point in the history
Author is a local authority now, not a string.
  • Loading branch information
dunn committed May 30, 2018
1 parent 2c8f966 commit 3896310
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/catalog_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ def enforce_show_permissions(_opts = {})
label: "Contributors",
if: :show_contributors?

config.add_index_field solr_name("author", :stored_searchable),
config.add_index_field solr_name("author_label", :stored_searchable),
label: "Author", if: :show_author?

config.add_index_field solr_name("created", :displayable),
Expand Down

0 comments on commit 3896310

Please sign in to comment.