Skip to content

Commit

Permalink
added format to the pref_citation field for #13
Browse files Browse the repository at this point in the history
  • Loading branch information
wgilling committed Feb 2, 2021
1 parent 2b16b82 commit 1c8fe6a
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -204,14 +204,11 @@ process:
field_note_text:
order: 0
type: text
field_preferred_citation:
-
plugin: skip_on_empty
source: pref_citation
method: process
-
plugin: callback
callable: trim
field_preferred_citation/value:
plugin: skip_on_empty
method: process
source: pref_citation
field_preferred_citation/format: constants/description_format
field_statement_responsibility:
-
plugin: skip_on_empty
Expand Down Expand Up @@ -279,6 +276,8 @@ destination:
- field_linked_agent
- field_note_para
- field_preferred_citation
- field_preferred_citation/value
- field_preferred_citation/format
- field_statement_responsibility
- field_typed_identifier
- field_handle
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -203,14 +203,11 @@ process:
field_note_text:
order: 0
type: text
field_preferred_citation:
-
plugin: skip_on_empty
source: pref_citation
method: process
-
plugin: callback
callable: trim
field_preferred_citation/value:
plugin: skip_on_empty
method: process
source: pref_citation
field_preferred_citation/format: constants/description_format
field_statement_responsibility:
-
plugin: skip_on_empty
Expand Down Expand Up @@ -278,6 +275,8 @@ destination:
- field_linked_agent
- field_note_para
- field_preferred_citation
- field_preferred_citation/value
- field_preferred_citation/format
- field_statement_responsibility
- field_typed_identifier
- field_handle
Expand Down

0 comments on commit 1c8fe6a

Please sign in to comment.