Project

General

Profile

Revision f35d3f4a

IDf35d3f4af268376f38613236284c902269cb70e9
Parent e8074ec5
Child 24f57e45

Added by Patrick Plitzner over 5 years ago

#5890 Handle taxon name parsing in service method -> only pass taxon
name

View differences:

modules/cdm_dataportal/cdm_dataportal.search.php
147 147
      $titleCache = $record->entity->titleCache;
148 148
      preg_match('/(.*) sec.*/', $titleCache, $trimmedTitle); //remove sec reference
149 149
      $trimmedTitle = trim($trimmedTitle[1]);
150
      $matches[$trimmedTitle.'[['.$record->entity->uuid] = check_plain($trimmedTitle).'[['.$record->entity->uuid;
150
      $matches[$trimmedTitle] = check_plain($trimmedTitle);
151 151
  }
152 152
  drupal_json_output($matches);
153 153
}

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)