Skip to content

Commit

Permalink
Remove custom formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
elpaso committed Dec 20, 2021
1 parent 40947d4 commit 7c356eb
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/core/expression/qgsexpressionfunction.cpp
Expand Up @@ -1797,11 +1797,6 @@ static QVariant fcnRepresentAttributes( const QVariantList &values, const QgsExp
}
QString value( fieldFormatter->representValue( layer, fieldIndex, setup.config(), cache, attributeVal ) );

if ( setup.config().value( QStringLiteral( "AllowMulti" ), false ).toBool() && value.startsWith( QLatin1Char( '{' ) ) && value.endsWith( QLatin1Char( '}' ) ) )
{
value = value.mid( 1, value.size() - 2 );
}

result.insert( fields.at( fieldIndex ).name(), value );

if ( context )
Expand Down

0 comments on commit 7c356eb

Please sign in to comment.