Parcourir la 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 il y a 6 ans
Parent
commit
9cc641c4ea
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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);
       }