Skip to content

Commit

Permalink
Merge pull request #1314 from tripal/1313-tv3-local__contact-not-working
Browse files Browse the repository at this point in the history
Issue 1313 field name typos fixed
  • Loading branch information
laceysanderson committed Dec 1, 2022
2 parents 5e23906 + 63a2ac7 commit ab0afb2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ class local__contact_formatter extends ChadoFieldFormatter {
public static $default_label = 'Contact';

// The list of field types for which this formatter is appropriate.
public static $field_types = ['local_contact'];
public static $field_types = ['local__contact'];


/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ class local__contact_widget extends ChadoFieldWidget {
public static $default_label = 'Contact';

// The list of field types for which this formatter is appropriate.
public static $field_types = ['local_contact'];
public static $field_types = ['local__contact'];

/**
*
Expand Down
4 changes: 2 additions & 2 deletions tripal_chado/includes/tripal_chado.fields.inc
Original file line number Diff line number Diff line change
Expand Up @@ -1504,7 +1504,7 @@ function tripal_chado_bundle_instances_info_custom(&$info, $entity_type, $bundle
'entity_type' => $entity_type,
'bundle' => $bundle->name,
'label' => 'Contact',
'description' => 'An indvidual or organization that serves as a contact for this record.',
'description' => 'An individual or organization that serves as a contact for this record.',
'required' => FALSE,
'settings' => [
'auto_attach' => FALSE,
Expand Down Expand Up @@ -2278,7 +2278,7 @@ function tripal_chado_bundle_instances_info_linker(&$info, $entity_type, $bundle
'entity_type' => $entity_type,
'bundle' => $bundle->name,
'label' => 'Contact',
'description' => 'Associates an indviddual or organization with this record',
'description' => 'Associates an individual or organization with this record',
'required' => FALSE,
'settings' => [
'auto_attach' => FALSE,
Expand Down

0 comments on commit ab0afb2

Please sign in to comment.