We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent 03aa1e7 commit 7870815Copy full SHA for 7870815
src/core/qgsvectorlayerjoinbuffer.cpp
@@ -237,7 +237,8 @@ void QgsVectorLayerJoinBuffer::updateFields( QgsFields& fields )
237
continue;
238
239
//skip the join field to avoid double field names (fields often have the same name)
240
- if ( joinFields[idx].name() != joinFieldName )
+ // when using subset of field, use all the selected fields
241
+ if ( hasSubset || joinFields[idx].name() != joinFieldName )
242
{
243
QgsField f = joinFields[idx];
244
f.setName( prefix + f.name() );
0 commit comments