@@ 408-416 (lines=9) @@ | ||
405 | $result->setButtonText($buttonTextOverride); |
|
406 | } |
|
407 | ||
408 | if($this->AutoCompleteFieldID > 0) { |
|
409 | ElasticaUtil::addAutocompleteToQueryField( |
|
410 | $qField, |
|
411 | $this->ClassesToSearch, |
|
412 | $this->SiteTreeOnly, |
|
413 | $this->Link(), |
|
414 | $this->AutocompleteFunction()->Slug |
|
415 | ); |
|
416 | } |
|
417 | return $result; |
|
418 | } |
|
419 |
@@ 345-353 (lines=9) @@ | ||
342 | ||
343 | } |
|
344 | ||
345 | if($this->AutoCompleteFieldID > 0) { |
|
346 | ElasticaUtil::addAutocompleteToQueryField( |
|
347 | $queryField, |
|
348 | $this->ClassesToSearch, |
|
349 | $this->SiteTreeOnly, |
|
350 | $this->Link(), |
|
351 | $this->AutocompleteFunction()->Slug |
|
352 | ); |
|
353 | } |
|
354 | return $form; |
|
355 | } |
|
356 |