Skip to content
Permalink
Browse files
[processing] fix join to layer with join (fix #10244)
  • Loading branch information
minorua committed Jul 5, 2014
1 parent 361202e commit 228892cfa7eb8b8fe0398775e9302016092f303e
Showing with 2 additions and 2 deletions.
  1. +2 −2 python/plugins/processing/tools/vector.py
@@ -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 228892c

Please sign in to comment.