Skip to content

Commit

Permalink
changing to_field to plural when passing several strings
Browse files Browse the repository at this point in the history
  • Loading branch information
hudajkhan committed Oct 7, 2024
1 parent 4b003fd commit 09554ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/traject/bibtex_config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
to_fields %w(pub_year_isi pub_year_w_approx_isi), extract_bibtex(:year)
to_field 'editor_ssim', extract_bibtex_field(:editor)
to_field 'book_title_ssim', extract_bibtex_field(:booktitle)
to_field %w(pub_display pub_search), extract_bibtex_field(:journal)
to_field %w(pub_display pub_search), extract_bibtex_field(:publisher)
to_fields %w(pub_display pub_search), extract_bibtex_field(:journal)
to_fields %w(pub_display pub_search), extract_bibtex_field(:publisher)
to_field 'location_ssi', extract_bibtex_field(:address)
to_field 'university_ssim', extract_bibtex_field(:school)
to_field 'edition_ssm', extract_bibtex_field(:edition)
Expand Down

0 comments on commit 09554ad

Please sign in to comment.