mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Replace HTML entities in GridFieldAddExistingAutocompleter->doSearch() with actual charaters as the DropDown does not play nicely with HTML entities
This commit is contained in:
parent
7ace631499
commit
54a58eff27
@ -230,7 +230,7 @@ class GridFieldAddExistingAutocompleter
|
||||
|
||||
$json = array();
|
||||
foreach($results as $result) {
|
||||
$json[$result->ID] = SSViewer::fromString($this->resultsFormat)->process($result);
|
||||
$json[$result->ID] = html_entity_decode(SSViewer::fromString($this->resultsFormat)->process($result));
|
||||
}
|
||||
return Convert::array2json($json);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user