Revision 92e38dee
Added by Patrick Plitzner almost 7 years ago
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
#5890 Rename function parameter