Procházet zdrojové kódy

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 před 6 roky
rodič
revize
9cc641c4ea
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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);
       }