Explorar el Código

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 hace 6 años
padre
commit
9cc641c4ea
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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);
       }