Skip to content
Permalink
Browse files
Remove custom formatting
  • Loading branch information
elpaso committed Dec 20, 2021
1 parent 40947d4 commit 7c356eb11d74c46bddd288766960522a60aa172f
Showing with 0 additions and 5 deletions.
  1. +0 −5 src/core/expression/qgsexpressionfunction.cpp
@@ -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 )

0 comments on commit 7c356eb

Please sign in to comment.