Skip to content
Permalink
Browse files
[processing] fix join to layer with join (fix #10244)
  • Loading branch information
minorua authored and jef-n committed Jul 11, 2014
1 parent 7bc055e commit df5c1f0
Showing 1 changed file with 2 additions and 2 deletions.
@@ -260,10 +260,10 @@ def combineVectorFields(layerA, layerB):
"""Create single field map from two input field maps.
"""
fields = []
fieldsA = layerA.dataProvider().fields()
fieldsA = layerA.pendingFields()
fields.extend(fieldsA)
namesA = [unicode(f.name()).lower() for f in fieldsA]
fieldsB = layerB.dataProvider().fields()
fieldsB = layerB.pendingFields()
for field in fieldsB:
name = unicode(field.name()).lower()
if name in namesA:

0 comments on commit df5c1f0

Please sign in to comment.