Browse Source

there was a type in the pub layout settings function that was catching all fields and dropping them in the right column instead of where they should go which is disabled

Shawna Spoor 6 years ago
parent
commit
9cc641c4ea
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tripal_ds/includes/tripal_ds.ds.inc

+ 1 - 1
tripal_ds/includes/tripal_ds.ds.inc

@@ -304,7 +304,7 @@ function _ds_layout_pub_settings_info($bundle_name, $instances) {
         field_update_instance($instance);
       }
       elseif($instance_name == 'schema__additional_type' || $instance_name == 'tpub__doi'
-        || $instance_name == 'tpub__publication_date' || 'tpub__abstract' ||
+        || $instance_name == 'tpub__publication_date' || $instance_name == 'tpub__abstract' ||
         $instance_name == 'tpub__citation') {
         array_push($properties, $instance_name);
       }