Skip to content

Commit d92b7ab

Browse files
krwongcazzerson
andauthored
Hyc 1231 remove rewrite (#813)
* remove rewrite in L26 * Update test command * oops only remove part of L26 Co-authored-by: Jason Casden <casden@gmail.com>
1 parent eed334e commit d92b7ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/views/records/edit_fields/_person.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<div class="person col-sm-12 <%= person_term %>-affiliation">
2424
<% is_required = person_term == 'creator' && f.object_name == 'honors_thesis' %>
2525
<%# Replace old value of UNC Libraries to avoid duplicate key in the yaml file %>
26-
<% aff_val = person.object.affiliation.first.to_s.gsub(/(\.\s+)Library$/, '\1University Libraries') %>
26+
<% aff_val = person.object.affiliation.first.to_s %>
2727
<%= person.input :affiliation, as: :select,
2828
label: "UNC affiliation (#{person_term_display})",
2929
collection: DepartmentsService.select_all_options.sort,

0 commit comments

Comments
 (0)