Project

General

Profile

Revision 92e38dee

ID92e38dee9e05d1e5470ccfff883f9edea9bb66f1
Parent 51cc509a
Child e8074ec5

Added by Patrick Plitzner over 5 years ago

#5890 Rename function parameter

View differences:

modules/cdm_dataportal/cdm_dataportal.search.php
121 121
  return $form;
122 122
}
123 123

  
124
function cdm_dataportal_taxon_autosuggest($treeUuid = NULL, $areaUuid = NULL, $status = NULL, $string) {
124
function cdm_dataportal_taxon_autosuggest($classificationNodeUuid = NULL, $areaUuid = NULL, $status = NULL, $string) {
125 125
  $matches = array();
126 126

  
127 127
  $queryParams = array();
128 128
  $queryParams['query'] = $string.'*';
129
  if($treeUuid){
130
    $queryParams['tree'] = $treeUuid;
129
  if($classificationNodeUuid){
130
    $queryParams['classificationNodeUuid'] = $classificationNodeUuid;
131 131
  }
132 132
  if($areaUuid){
133 133
    $queryParams['area'] = $areaUuid;

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)