We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65748d5 commit 5c2f9e6Copy full SHA for 5c2f9e6
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