Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changes description label to Description #3449

Merged
merged 1 commit into from
Dec 3, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion config/locales/hyrax.en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1265,7 +1265,7 @@ en:
based_near: Location
creator: Creator
date_created: Date Created
description: Abstract or Summary
description: Description
embargo_release_date: until
files: Upload a file
keyword: Keyword
Expand Down
2 changes: 1 addition & 1 deletion lib/generators/hyrax/templates/catalog_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ def self.modified_field
end

config.add_search_field('description') do |field|
field.label = "Abstract or Summary"
field.label = "Description"
solr_name = solr_name("description", :stored_searchable)
field.solr_local_parameters = {
qf: solr_name,
Expand Down
6 changes: 3 additions & 3 deletions spec/features/dashboard/collection_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@
expect(page).to have_selector "input.collection_creator.multi_value"

fill_in('Title', with: title)
fill_in('Abstract or Summary', with: description)
fill_in('Description', with: description)
fill_in('Related URL', with: 'http://example.com/')

click_button("Save")
Expand Down Expand Up @@ -281,7 +281,7 @@
expect(page).to have_selector "input.collection_creator.multi_value"

fill_in('Title', with: title)
fill_in('Abstract or Summary', with: description)
fill_in('Description', with: description)
fill_in('Related URL', with: 'http://example.com/')

click_button("Save")
Expand Down Expand Up @@ -815,7 +815,7 @@ def get_url_fragment(type)
creators = ["Dorje Trollo", "Vajrayogini"]

fill_in('Title', with: new_title)
fill_in('Abstract or Summary', with: new_description)
fill_in('Description', with: new_description)
fill_in('Creator', with: creators.first)
within('.panel-footer') do
click_button('Save changes')
Expand Down