Portal : Templates not working with OQL "list" fields. This only append when the field had too many items and was trying to render as an autocomplete.

SVN:trunk[4344]
This commit is contained in:
Guillaume Lajarige
2016-08-23 16:01:25 +00:00
parent e6047dcbf5
commit 8722447f2f

View File

@@ -137,8 +137,7 @@ EOF
$sAutocompleteFieldId = 's_ac_' . $this->oField->GetGlobalId();
$sEndpoint = str_replace('-sMode-', 'autocomplete', $this->oField->GetSearchEndpoint());
$sNoResultText = Dict::S('Portal:Autocomplete:NoResult');
\IssueLog::Info('== Field #' . $this->oField->GetId());
\IssueLog::Info(' |- Endpoint : ' . $sEndpoint);
// Retrieving field value
if (($this->oField->GetCurrentValue() !== null) && ($this->oField->GetCurrentValue() !== 0) && ($this->oField->GetCurrentValue() !== ''))
{