Project

General

Profile

« Previous | Next » 

Revision 85669a85

Added by Andreas Kohlbecker almost 5 years ago

ref #7975 implementing settings for name relationship lists - all name rels enabled by default

View differences:

modules/cdm_dataportal/includes/name.inc
1154 1154
  }
1155 1155
  // the render stack element homonyms is being used in the default render templates !!!, see CDM_NAME_RENDER_TEMPLATES_DEFAULT
1156 1156

  
1157
  $selected_name_rel_uuids = variable_get(CDM_NAME_RELATIONSHIP_LIST_TYPES, unserialize(CDM_NAME_RELATIONSHIP_LIST_TYPES_DEFAULT));
1157
  $selected_name_rel_uuids = variable_get(CDM_NAME_RELATIONSHIP_LIST_TYPES, cdm_vocabulary_as_defaults(UUID_NAME_RELATIONSHIP_TYPE));
1158 1158
  $name_rel_type_filter = array('direct' => array(), 'inverse' => array());
1159 1159
  foreach ($selected_name_rel_uuids as $uuid){
1160 1160
    $name_rel_type_filter['direct'][$uuid] = $uuid;

Also available in: Unified diff