Datamodel viewer: Fix an issue where OQL Filters were truncated

This commit is contained in:
Stephen Abello
2018-12-10 15:10:58 +01:00
parent 59570f3a21
commit fb028710e0

View File

@@ -889,7 +889,7 @@ function DisplayClassDetails($oPage, $sClass, $sContext)
}
elseif (is_object($oAllowedValuesDef = $oAttDef->GetValuesDef()))
{
$sAllowedValues = trim( $oAllowedValuesDef->GetValuesDescription(), "Filter : ");
$sAllowedValues = str_replace("Filter: ", "", $oAllowedValuesDef->GetValuesDescription());
$sAllowedValuesEscpd = json_encode($sAllowedValues);
$sFilterURL = urlencode($sAllowedValues);